#6E2498#6E2498
#6E2498 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.180 H 309.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2498 |
|---|---|
| RGB | rgb(110, 36, 152) |
| HSL | hsl(278, 62%, 37%) |
| HSV | hsv(278, 76%, 60%) |
| CMYK | cmyk(27.6%, 76.3%, 0%, 40.4%) |
| CIE-LAB | lab(31.45, 51.28, -48.84) |
| CIE-LCH | lch(31.45, 70.82, 316.40°) |
| OKLab | oklab(43.2% 0.1156 -0.1385) |
| OKLCH | oklch(43.2% 0.18 309.9) |
| XYZ | xyz(12.7277, 6.8440, 30.3502) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.94
Rebeccapurple
#663399
ΔE00 3.25
Purple
#800080
ΔE00 6.95
Darkmagenta
#8B008B
ΔE00 6.97
Darkish Purple
#751973
ΔE00 7.85
Indigo
#4B0082
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2498 #4E9824
analogous
#342498 #6E2498 #982488
triadic
#6E2498 #986E24 #24986E
tetradic
#6E2498 #983424 #4E9824 #248898
square
#6E2498 #983424 #4E9824 #248898
split-complementary
#6E2498 #889824 #249834
monochromatic
#260D35 #4A1867 #6E2498 #9230C9 #AC5ED9
Accessibility & contrast
On white
8.87
#6E2498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#6E2498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2498
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2498 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#034B96
Tritanopia (blue-blind)
#68405D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6e2498; /* rgb */ color: rgb(110, 36, 152); /* oklch */ color: oklch(43.2% 0.180 309.9);
Tailwind
colors: {
custom: {
50: '#9c67b7',
500: '#6e2498',
950: '#000000',
},
}SCSS
$custom: #6e2498; $custom-light: #9c67b7; $custom-dark: #000000;
JSON
{
"hex": "#6e2498",
"rgb": {
"r": 110,
"g": 36,
"b": 152
},
"hsl": {
"h": 278.276,
"s": 61.702,
"l": 36.863
},
"oklch": {
"l": 0.43203,
"c": 0.18036,
"h": 309.9
},
"luminance": 0.06844
}Semantic roles & 50–950 ramp
primary
#6E2498
secondary
#7EBE5A
accent
#E5437E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80