convertercolorscolor-format

Color Name to HEX

Use this Color Name to HEX converter to switch color values without leaving your browser.

stableConverter
Supported formats

Tool-specific input

Max file size

No upload required

Privacy

Processed locally in your browser when possible. No uploaded file is required for this tool.

Color workspace

Color Name to HEX

Convert and inspect one color across HEX, RGB, RGBA, HSL, HSV, CMYK, LAB, named colors, Tailwind tokens, and CSS-ready output.

Live preview
#663399

Color input

Use the most natural input mode for the task, then inspect every related output instantly.

Nearest matches

Confidence is estimated from RGB distance. Higher is closer.

Nearest CSS name
rebeccapurple
#663399
Confidence100%
RGB distance: 0
Nearest Tailwind token
slate-500
#64748b
Confidence85%
RGB distance: 66.52

Output formats

Switch tab or copy any format directly.

#663399ff
HEX / HEXA
#663399ff
RGB
rgb(102, 51, 153)
RGBA
rgba(102, 51, 153, 1)
HSL / HSLA
hsla(270, 50%, 40%, 1)
HSV
hsv(270, 67%, 60%)
CMYK
cmyk(33%, 67%, 0%, 40%)
LAB
lab(32.90 42.89 -47.16)
Name
rebeccapurple (#663399)
Tailwind
slate-500 (#64748b)
CSS
#663399
--color-primary: #663399;

About Color Name to HEX

Convert values instantly with a browser-based Color Name to HEX tool built for practical UI and CSS workflows.

Search phrases this page supports

color name to hexcolor name to hex converter

These phrases match the main jobs this page covers. They also help guide internal links, companion tools, and future content expansions without creating duplicate intent.

Why use Color Name to HEX

Different color formats show up at different stages of the workflow.

This tool gives you copy-ready output for CSS, tokens, and handoff work.

Frequently asked questions

What does Color Name to HEX do?

It converts color input into a different output format and returns a copy-ready result.