#6E239E#6E239E
#6E239E is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.187 H 308.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #6E239E |
|---|---|
| RGB | rgb(110, 35, 158) |
| HSL | hsl(277, 64%, 38%) |
| HSV | hsv(277, 78%, 62%) |
| CMYK | cmyk(30.4%, 77.8%, 0%, 38%) |
| CIE-LAB | lab(31.77, 53.02, -51.96) |
| CIE-LCH | lch(31.77, 74.24, 315.57°) |
| OKLab | oklab(43.58% 0.1153 -0.1476) |
| OKLCH | oklch(43.58% 0.187 308) |
| XYZ | xyz(13.2017, 6.9859, 32.9941) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.20
Rebeccapurple
#663399
ΔE00 3.31
Darkmagenta
#8B008B
ΔE00 7.54
Purple
#800080
ΔE00 7.69
Purple Blue
#5D21D0
ΔE00 7.87
Violet Blue
#510AC9
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E239E #539E23
analogous
#30239E #6E239E #9E2391
triadic
#6E239E #9E6E23 #239E6E
tetradic
#6E239E #9E3023 #539E23 #23919E
square
#6E239E #9E3023 #539E23 #23919E
split-complementary
#6E239E #919E23 #239E30
monochromatic
#280D3A #4B186C #6E239E #912ED0 #AB60DC
Accessibility & contrast
On white
8.76
#6E239E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#6E239E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E239E
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E239E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E239E | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#664260
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #6e239e; /* rgb */ color: rgb(110, 35, 158); /* oklch */ color: oklch(43.6% 0.187 308.0);
Tailwind
colors: {
custom: {
50: '#9c67bb',
500: '#6e239e',
950: '#000000',
},
}SCSS
$custom: #6e239e; $custom-light: #9c67bb; $custom-dark: #000000;
JSON
{
"hex": "#6e239e",
"rgb": {
"r": 110,
"g": 35,
"b": 158
},
"hsl": {
"h": 276.585,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.43578,
"c": 0.1873,
"h": 308
},
"luminance": 0.06986
}Semantic roles & 50–950 ramp
primary
#6E239E
secondary
#83C15C
accent
#E74182
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81