#6E2298#6E2298
#6E2298 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.183 H 310.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2298 |
|---|---|
| RGB | rgb(110, 34, 152) |
| HSL | hsl(279, 63%, 36%) |
| HSV | hsv(279, 78%, 60%) |
| CMYK | cmyk(27.6%, 77.6%, 0%, 40.4%) |
| CIE-LAB | lab(31.18, 52.07, -49.28) |
| CIE-LCH | lch(31.18, 71.69, 316.57°) |
| OKLab | oklab(43.01% 0.1174 -0.1398) |
| OKLCH | oklch(43.01% 0.183 310) |
| XYZ | xyz(12.6688, 6.7263, 30.3306) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.94
Rebeccapurple
#663399
ΔE00 3.51
Purple
#800080
ΔE00 6.84
Darkmagenta
#8B008B
ΔE00 6.90
Darkish Purple
#751973
ΔE00 7.82
Indigo
#4B0082
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2298 #4C9822
analogous
#332298 #6E2298 #982287
triadic
#6E2298 #986E22 #22986E
tetradic
#6E2298 #983322 #4C9822 #228798
square
#6E2298 #983322 #4C9822 #228798
split-complementary
#6E2298 #879822 #229833
monochromatic
#260C34 #4A1766 #6E2298 #922DCA #AD5ADA
Accessibility & contrast
On white
8.95
#6E2298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#6E2298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2298
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2298 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#683F5C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6e2298; /* rgb */ color: rgb(110, 34, 152); /* oklch */ color: oklch(43.0% 0.183 310.0);
Tailwind
colors: {
custom: {
50: '#9c66b7',
500: '#6e2298',
950: '#000000',
},
}SCSS
$custom: #6e2298; $custom-light: #9c66b7; $custom-dark: #000000;
JSON
{
"hex": "#6e2298",
"rgb": {
"r": 110,
"g": 34,
"b": 152
},
"hsl": {
"h": 278.644,
"s": 63.441,
"l": 36.471
},
"oklch": {
"l": 0.4301,
"c": 0.18254,
"h": 310
},
"luminance": 0.06726
}Semantic roles & 50–950 ramp
primary
#6E2298
secondary
#7CBE57
accent
#E6417C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80