#6E2598#6E2598
#6E2598 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.179 H 309.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2598 |
|---|---|
| RGB | rgb(110, 37, 152) |
| HSL | hsl(278, 61%, 37%) |
| HSV | hsv(278, 76%, 60%) |
| CMYK | cmyk(27.6%, 75.7%, 0%, 40.4%) |
| CIE-LAB | lab(31.59, 50.88, -48.61) |
| CIE-LCH | lch(31.59, 70.37, 316.31°) |
| OKLab | oklab(43.3% 0.1146 -0.1378) |
| OKLCH | oklch(43.3% 0.179 309.8) |
| XYZ | xyz(12.7583, 6.9054, 30.3605) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.96
Rebeccapurple
#663399
ΔE00 3.11
Purple
#800080
ΔE00 7.01
Darkmagenta
#8B008B
ΔE00 7.01
Darkish Purple
#751973
ΔE00 7.88
Indigo
#4B0082
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2598 #4F9825
analogous
#352598 #6E2598 #982589
triadic
#6E2598 #986E25 #25986E
tetradic
#6E2598 #983525 #4F9825 #258998
square
#6E2598 #983525 #4F9825 #258998
split-complementary
#6E2598 #899825 #259835
monochromatic
#270D36 #4A1967 #6E2598 #9231C9 #AC5FD8
Accessibility & contrast
On white
8.82
#6E2598 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#6E2598 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2598
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2598 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2598 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#054B96
Tritanopia (blue-blind)
#68405D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6e2598; /* rgb */ color: rgb(110, 37, 152); /* oklch */ color: oklch(43.3% 0.179 309.8);
Tailwind
colors: {
custom: {
50: '#9c67b7',
500: '#6e2598',
950: '#000000',
},
}SCSS
$custom: #6e2598; $custom-light: #9c67b7; $custom-dark: #000000;
JSON
{
"hex": "#6e2598",
"rgb": {
"r": 110,
"g": 37,
"b": 152
},
"hsl": {
"h": 278.087,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.43303,
"c": 0.17924,
"h": 309.8
},
"luminance": 0.06905
}Semantic roles & 50–950 ramp
primary
#6E2598
secondary
#7FBD5C
accent
#E4447E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80