#6E238F#6E238F
#6E238F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.173 H 313.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6E238F |
|---|---|
| RGB | rgb(110, 35, 143) |
| HSL | hsl(282, 61%, 35%) |
| HSV | hsv(282, 76%, 56%) |
| CMYK | cmyk(23.1%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(30.64, 49.71, -44.62) |
| CIE-LCH | lch(30.64, 66.80, 318.09°) |
| OKLab | oklab(42.42% 0.1181 -0.126) |
| OKLCH | oklch(42.42% 0.173 313.1) |
| XYZ | xyz(11.9885, 6.5006, 26.6045) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.15
Rebeccapurple
#663399
ΔE00 4.04
Purple
#800080
ΔE00 5.74
Darkmagenta
#8B008B
ΔE00 6.15
Darkish Purple
#751973
ΔE00 6.34
Indigo
#4B0082
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E238F #448F23
analogous
#38238F #6E238F #8F237A
triadic
#6E238F #8F6E23 #238F6E
tetradic
#6E238F #8F3823 #448F23 #237A8F
square
#6E238F #8F3823 #448F23 #237A8F
split-complementary
#6E238F #7A8F23 #238F38
monochromatic
#220B2D #48175E #6E238F #942FC0 #AF57D6
Accessibility & contrast
On white
9.13
#6E238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6E238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E238F
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E238F | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#6A3B57
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6e238f; /* rgb */ color: rgb(110, 35, 143); /* oklch */ color: oklch(42.4% 0.173 313.1);
Tailwind
colors: {
custom: {
50: '#9b66b0',
500: '#6e238f',
950: '#000000',
},
}SCSS
$custom: #6e238f; $custom-light: #9b66b0; $custom-dark: #000000;
JSON
{
"hex": "#6e238f",
"rgb": {
"r": 110,
"g": 35,
"b": 143
},
"hsl": {
"h": 281.667,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.42422,
"c": 0.17273,
"h": 313.1
},
"luminance": 0.065
}Semantic roles & 50–950 ramp
primary
#6E238F
secondary
#73BA54
accent
#E44475
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0611
muted
#7E7A80