#6C249A#6C249A
#6C249A is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.182 H 308.2°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #6C249A |
|---|---|
| RGB | rgb(108, 36, 154) |
| HSL | hsl(277, 62%, 37%) |
| HSV | hsv(277, 77%, 60%) |
| CMYK | cmyk(29.9%, 76.6%, 0%, 39.6%) |
| CIE-LAB | lab(31.31, 51.35, -50.30) |
| CIE-LCH | lch(31.31, 71.88, 315.59°) |
| OKLab | oklab(43.09% 0.1124 -0.1428) |
| OKLCH | oklch(43.09% 0.182 308.2) |
| XYZ | xyz(12.6467, 6.7832, 31.2086) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.07
Purple (survey)
#7E1E9C
ΔE00 3.38
Purple
#800080
ΔE00 7.48
Darkmagenta
#8B008B
ΔE00 7.51
Indigo
#4B0082
ΔE00 8.08
Purple Blue
#5D21D0
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C249A #529A24
analogous
#31249A #6C249A #9A248D
triadic
#6C249A #9A6C24 #249A6C
tetradic
#6C249A #9A3124 #529A24 #248D9A
square
#6C249A #9A3124 #529A24 #248D9A
split-complementary
#6C249A #8D9A24 #249A31
monochromatic
#260D37 #491868 #6C249A #8F30CC #AA5FDA
Accessibility & contrast
On white
8.91
#6C249A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6C249A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C249A
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C249A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C249A | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#65415E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6c249a; /* rgb */ color: rgb(108, 36, 154); /* oklch */ color: oklch(43.1% 0.182 308.2);
Tailwind
colors: {
custom: {
50: '#9b67b9',
500: '#6c249a',
950: '#000000',
},
}SCSS
$custom: #6c249a; $custom-light: #9b67b9; $custom-dark: #000000;
JSON
{
"hex": "#6c249a",
"rgb": {
"r": 108,
"g": 36,
"b": 154
},
"hsl": {
"h": 276.61,
"s": 62.105,
"l": 37.255
},
"oklch": {
"l": 0.43091,
"c": 0.18176,
"h": 308.2
},
"luminance": 0.06783
}Semantic roles & 50–950 ramp
primary
#6C249A
secondary
#82BF5B
accent
#E54382
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80