#6A1E96#6A1E96
#6A1E96 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.184 H 309.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1E96 |
|---|---|
| RGB | rgb(106, 30, 150) |
| HSL | hsl(278, 67%, 35%) |
| HSV | hsv(278, 80%, 59%) |
| CMYK | cmyk(29.3%, 80%, 0%, 41.2%) |
| CIE-LAB | lab(29.90, 52.38, -50.16) |
| CIE-LCH | lch(29.90, 72.52, 316.24°) |
| OKLab | oklab(41.94% 0.1158 -0.1424) |
| OKLCH | oklch(41.94% 0.184 309.1) |
| XYZ | xyz(11.9120, 6.1950, 29.4165) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.76
Rebeccapurple
#663399
ΔE00 3.97
Purple
#800080
ΔE00 7.01
Indigo
#4B0082
ΔE00 7.06
Darkmagenta
#8B008B
ΔE00 7.35
Darkish Purple
#751973
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1E96 #4A961E
analogous
#2E1E96 #6A1E96 #961E86
triadic
#6A1E96 #966A1E #1E966A
tetradic
#6A1E96 #962E1E #4A961E #1E8696
square
#6A1E96 #962E1E #4A961E #1E8696
split-complementary
#6A1E96 #86961E #1E962E
monochromatic
#220A30 #461463 #6A1E96 #8E28C9 #AA52DC
Accessibility & contrast
On white
9.38
#6A1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#6A1E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1E96
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1E96 | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#633C5A
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a1e96; /* rgb */ color: rgb(106, 30, 150); /* oklch */ color: oklch(41.9% 0.184 309.1);
Tailwind
colors: {
custom: {
50: '#9964b6',
500: '#6a1e96',
950: '#000000',
},
}SCSS
$custom: #6a1e96; $custom-light: #9964b6; $custom-dark: #000000;
JSON
{
"hex": "#6a1e96",
"rgb": {
"r": 106,
"g": 30,
"b": 150
},
"hsl": {
"h": 278,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.4194,
"c": 0.18357,
"h": 309.1
},
"luminance": 0.06195
}Semantic roles & 50–950 ramp
primary
#6A1E96
secondary
#79BF50
accent
#EA3E7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80