#6C288A#6C288A
#6C288A is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.161 H 313.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6C288A |
|---|---|
| RGB | rgb(108, 40, 138) |
| HSL | hsl(282, 55%, 35%) |
| HSV | hsv(282, 71%, 54%) |
| CMYK | cmyk(21.7%, 71%, 0%, 45.9%) |
| CIE-LAB | lab(30.74, 46.05, -41.38) |
| CIE-LCH | lch(30.74, 61.92, 318.06°) |
| OKLab | oklab(42.32% 0.1107 -0.1167) |
| OKLCH | oklch(42.32% 0.161 313.5) |
| XYZ | xyz(11.5298, 6.5411, 24.6950) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.96
Rebeccapurple
#663399
ΔE00 3.97
Darkish Purple
#751973
ΔE00 5.90
Purple
#800080
ΔE00 5.91
Darkmagenta
#8B008B
ΔE00 6.47
Indigo
#4B0082
ΔE00 8.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C288A #468A28
analogous
#3B288A #6C288A #8A2877
triadic
#6C288A #8A6C28 #288A6C
tetradic
#6C288A #8A3B28 #468A28 #28778A
square
#6C288A #8A3B28 #468A28 #28778A
split-complementary
#6C288A #778A28 #288A3B
monochromatic
#220C2B #471A5B #6C288A #9136B9 #AD5DD0
Accessibility & contrast
On white
9.10
#6C288A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#6C288A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C288A
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C288A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C288A | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#214A88
Tritanopia (blue-blind)
#693C56
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6c288a; /* rgb */ color: rgb(108, 40, 138); /* oklch */ color: oklch(42.3% 0.161 313.5);
Tailwind
colors: {
custom: {
50: '#9968ad',
500: '#6c288a',
950: '#000000',
},
}SCSS
$custom: #6c288a; $custom-light: #9968ad; $custom-dark: #000000;
JSON
{
"hex": "#6c288a",
"rgb": {
"r": 108,
"g": 40,
"b": 138
},
"hsl": {
"h": 281.633,
"s": 55.056,
"l": 34.902
},
"oklch": {
"l": 0.42316,
"c": 0.16085,
"h": 313.5
},
"luminance": 0.06541
}Semantic roles & 50–950 ramp
primary
#6C288A
secondary
#75B559
accent
#DE4977
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F