#6C238A#6C238A
#6C238A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.167 H 314.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6C238A |
|---|---|
| RGB | rgb(108, 35, 138) |
| HSL | hsl(283, 60%, 34%) |
| HSV | hsv(283, 75%, 54%) |
| CMYK | cmyk(21.7%, 74.6%, 0%, 45.9%) |
| CIE-LAB | lab(29.97, 48.21, -42.61) |
| CIE-LCH | lch(29.97, 64.35, 318.53°) |
| OKLab | oklab(41.77% 0.1161 -0.1202) |
| OKLCH | oklch(41.77% 0.167 314) |
| XYZ | xyz(11.3720, 6.2256, 24.6424) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.83
Rebeccapurple
#663399
ΔE00 4.45
Purple
#800080
ΔE00 5.49
Darkish Purple
#751973
ΔE00 5.74
Darkmagenta
#8B008B
ΔE00 6.20
Indigo
#4B0082
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C238A #418A23
analogous
#39238A #6C238A #8A2375
triadic
#6C238A #8A6C23 #238A6C
tetradic
#6C238A #8A3923 #418A23 #23758A
square
#6C238A #8A3923 #418A23 #23758A
split-complementary
#6C238A #758A23 #238A39
monochromatic
#200A28 #461759 #6C238A #922FBB #AE54D4
Accessibility & contrast
On white
9.35
#6C238A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#6C238A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C238A
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C238A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C238A | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#1C4888
Tritanopia (blue-blind)
#693954
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6c238a; /* rgb */ color: rgb(108, 35, 138); /* oklch */ color: oklch(41.8% 0.167 314.0);
Tailwind
colors: {
custom: {
50: '#9a65ad',
500: '#6c238a',
950: '#000000',
},
}SCSS
$custom: #6c238a; $custom-light: #9a65ad; $custom-dark: #000000;
JSON
{
"hex": "#6c238a",
"rgb": {
"r": 108,
"g": 35,
"b": 138
},
"hsl": {
"h": 282.524,
"s": 59.538,
"l": 33.922
},
"oklch": {
"l": 0.41771,
"c": 0.16716,
"h": 314
},
"luminance": 0.06225
}Semantic roles & 50–950 ramp
primary
#6C238A
secondary
#6FB751
accent
#E34573
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F