#6E1B9C#6E1B9C
#6E1B9C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.193 H 309.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6E1B9C |
|---|---|
| RGB | rgb(110, 27, 156) |
| HSL | hsl(279, 70%, 36%) |
| HSV | hsv(279, 83%, 61%) |
| CMYK | cmyk(29.5%, 82.7%, 0%, 38.8%) |
| CIE-LAB | lab(30.64, 55.40, -52.59) |
| CIE-LCH | lch(30.64, 76.39, 316.49°) |
| OKLab | oklab(42.73% 0.1223 -0.1494) |
| OKLCH | oklch(42.73% 0.193 309.3) |
| XYZ | xyz(12.8219, 6.4994, 32.0251) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.27
Rebeccapurple
#663399
ΔE00 4.30
Purple
#800080
ΔE00 7.14
Darkmagenta
#8B008B
ΔE00 7.18
Indigo
#4B0082
ΔE00 7.65
Violet Blue
#510AC9
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E1B9C #499C1B
analogous
#2E1B9C #6E1B9C #9C1B89
triadic
#6E1B9C #9C6E1B #1B9C6E
tetradic
#6E1B9C #9C2E1B #499C1B #1B899C
square
#6E1B9C #9C2E1B #499C1B #1B899C
split-complementary
#6E1B9C #899C1B #1B9C2E
monochromatic
#240934 #491268 #6E1B9C #9324D0 #AD51E1
Accessibility & contrast
On white
9.13
#6E1B9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#6E1B9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E1B9C
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E1B9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E1B9C | 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)
#00459F
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#673D5D
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6e1b9c; /* rgb */ color: rgb(110, 27, 156); /* oklch */ color: oklch(42.7% 0.193 309.3);
Tailwind
colors: {
custom: {
50: '#9d63ba',
500: '#6e1b9c',
950: '#000000',
},
}SCSS
$custom: #6e1b9c; $custom-light: #9d63ba; $custom-dark: #000000;
JSON
{
"hex": "#6e1b9c",
"rgb": {
"r": 110,
"g": 27,
"b": 156
},
"hsl": {
"h": 278.605,
"s": 70.492,
"l": 35.882
},
"oklch": {
"l": 0.42733,
"c": 0.19309,
"h": 309.3
},
"luminance": 0.06499
}Semantic roles & 50–950 ramp
primary
#6E1B9C
secondary
#79C34F
accent
#ED3B7A
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81