#6E1AB3#6E1AB3
#6E1AB3 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.6% C 0.215 H 302.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #6E1AB3 |
|---|---|
| RGB | rgb(110, 26, 179) |
| HSL | hsl(273, 75%, 40%) |
| HSV | hsv(273, 85%, 70%) |
| CMYK | cmyk(38.5%, 85.5%, 0%, 29.8%) |
| CIE-LAB | lab(32.50, 60.76, -63.41) |
| CIE-LCH | lch(32.50, 87.82, 313.78°) |
| OKLab | oklab(44.63% 0.1158 -0.1812) |
| OKLCH | oklch(44.63% 0.215 302.6) |
| XYZ | xyz(14.9345, 7.3084, 43.2629) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 4.92
Purple (survey)
#7E1E9C
ΔE00 5.32
Violet Blue
#510AC9
ΔE00 5.40
Rebeccapurple
#663399
ΔE00 5.46
Blue Violet
#5D06E9
ΔE00 7.04
Darkviolet
#9400D3
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E1AB3 #5FB31A
analogous
#211AB3 #6E1AB3 #B31AAB
triadic
#6E1AB3 #B36E1A #1AB36E
tetradic
#6E1AB3 #B3211A #5FB31A #1AABB3
square
#6E1AB3 #B3211A #5FB31A #1AABB3
split-complementary
#6E1AB3 #ABB31A #1AB321
monochromatic
#2C0A48 #4D127E #6E1AB3 #8E2AE0 #AA60E8
Accessibility & contrast
On white
8.53
#6E1AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#6E1AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E1AB3
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E1AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E1AB3 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#5F486A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #6e1ab3; /* rgb */ color: rgb(110, 26, 179); /* oklch */ color: oklch(44.6% 0.215 302.6);
Tailwind
colors: {
custom: {
50: '#9f64cb',
500: '#6e1ab3',
950: '#000000',
},
}SCSS
$custom: #6e1ab3; $custom-light: #9f64cb; $custom-dark: #000000;
JSON
{
"hex": "#6e1ab3",
"rgb": {
"r": 110,
"g": 26,
"b": 179
},
"hsl": {
"h": 272.941,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.44627,
"c": 0.21506,
"h": 302.6
},
"luminance": 0.07308
}Semantic roles & 50–950 ramp
primary
#6E1AB3
secondary
#8FCC5D
accent
#F1378B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82