#6E2877#6E2877
#6E2877 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.3% C 0.143 H 323.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2877 |
|---|---|
| RGB | rgb(110, 40, 119) |
| HSL | hsl(293, 50%, 31%) |
| HSV | hsv(293, 66%, 47%) |
| CMYK | cmyk(7.6%, 66.4%, 0%, 53.3%) |
| CIE-LAB | lab(29.83, 42.53, -30.93) |
| CIE-LCH | lch(29.83, 52.59, 323.98°) |
| OKLab | oklab(41.33% 0.1141 -0.086) |
| OKLCH | oklch(41.33% 0.143 323) |
| XYZ | xyz(10.5186, 6.1651, 18.0851) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.84
Purple
#800080
ΔE00 4.93
Darkmagenta
#8B008B
ΔE00 6.25
Purple (survey)
#7E1E9C
ΔE00 6.79
Grape
#6C3461
ΔE00 7.15
Rebeccapurple
#663399
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2877 #317728
analogous
#462877 #6E2877 #772858
triadic
#6E2877 #776E28 #28776E
tetradic
#6E2877 #774628 #317728 #285877
square
#6E2877 #774628 #317728 #285877
split-complementary
#6E2877 #587728 #287746
monochromatic
#19091B #441949 #6E2877 #9837A5 #B954C5
Accessibility & contrast
On white
9.41
#6E2877 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#6E2877 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2877
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2877 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2877 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164179
Deuteranopia (green-blind)
#334975
Tritanopia (blue-blind)
#70344C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6e2877; /* rgb */ color: rgb(110, 40, 119); /* oklch */ color: oklch(41.3% 0.143 323.0);
Tailwind
colors: {
custom: {
50: '#9a679e',
500: '#6e2877',
950: '#000000',
},
}SCSS
$custom: #6e2877; $custom-light: #9a679e; $custom-dark: #000000;
JSON
{
"hex": "#6e2877",
"rgb": {
"r": 110,
"g": 40,
"b": 119
},
"hsl": {
"h": 293.165,
"s": 49.686,
"l": 31.176
},
"oklch": {
"l": 0.4133,
"c": 0.14286,
"h": 323
},
"luminance": 0.06164
}Semantic roles & 50–950 ramp
primary
#6E2877
secondary
#5CA952
accent
#D94F5E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E