#6C239A#6C239A
#6C239A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.183 H 308.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #6C239A |
|---|---|
| RGB | rgb(108, 35, 154) |
| HSL | hsl(277, 63%, 37%) |
| HSV | hsv(277, 77%, 60%) |
| CMYK | cmyk(29.9%, 77.3%, 0%, 39.6%) |
| CIE-LAB | lab(31.17, 51.74, -50.53) |
| CIE-LCH | lch(31.17, 72.32, 315.68°) |
| OKLab | oklab(42.99% 0.1133 -0.1435) |
| OKLCH | oklch(42.99% 0.183 308.3) |
| XYZ | xyz(12.6169, 6.7235, 31.1987) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.21
Purple (survey)
#7E1E9C
ΔE00 3.38
Purple
#800080
ΔE00 7.42
Darkmagenta
#8B008B
ΔE00 7.47
Indigo
#4B0082
ΔE00 7.97
Purple Blue
#5D21D0
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C239A #519A23
analogous
#31239A #6C239A #9A238D
triadic
#6C239A #9A6C23 #239A6C
tetradic
#6C239A #9A3123 #519A23 #238D9A
square
#6C239A #9A3123 #519A23 #238D9A
split-complementary
#6C239A #8D9A23 #239A31
monochromatic
#260C36 #491868 #6C239A #8F2ECC #AA5DDA
Accessibility & contrast
On white
8.96
#6C239A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#6C239A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C239A
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C239A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C239A | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#65405D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6c239a; /* rgb */ color: rgb(108, 35, 154); /* oklch */ color: oklch(43.0% 0.183 308.3);
Tailwind
colors: {
custom: {
50: '#9b66b9',
500: '#6c239a',
950: '#000000',
},
}SCSS
$custom: #6c239a; $custom-light: #9b66b9; $custom-dark: #000000;
JSON
{
"hex": "#6c239a",
"rgb": {
"r": 108,
"g": 35,
"b": 154
},
"hsl": {
"h": 276.807,
"s": 62.963,
"l": 37.059
},
"oklch": {
"l": 0.42993,
"c": 0.18285,
"h": 308.3
},
"luminance": 0.06723
}Semantic roles & 50–950 ramp
primary
#6C239A
secondary
#81BF5A
accent
#E64281
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80