#6A1A96#6A1A96
#6A1A96 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.187 H 309.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1A96 |
|---|---|
| RGB | rgb(106, 26, 150) |
| HSL | hsl(279, 70%, 35%) |
| HSV | hsv(279, 83%, 59%) |
| CMYK | cmyk(29.3%, 82.7%, 0%, 41.2%) |
| CIE-LAB | lab(29.43, 53.75, -50.93) |
| CIE-LCH | lch(29.43, 74.05, 316.55°) |
| OKLab | oklab(41.61% 0.119 -0.1447) |
| OKLCH | oklch(41.61% 0.187 309.4) |
| XYZ | xyz(11.8172, 6.0052, 29.3848) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.91
Rebeccapurple
#663399
ΔE00 4.49
Indigo
#4B0082
ΔE00 6.74
Purple
#800080
ΔE00 6.91
Darkmagenta
#8B008B
ΔE00 7.32
Darkish Purple
#751973
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1A96 #46961A
analogous
#2C1A96 #6A1A96 #961A84
triadic
#6A1A96 #966A1A #1A966A
tetradic
#6A1A96 #962C1A #46961A #1A8496
square
#6A1A96 #962C1A #46961A #1A8496
split-complementary
#6A1A96 #84961A #1A962C
monochromatic
#20082E #451162 #6A1A96 #8F23CA #AB4BE0
Accessibility & contrast
On white
9.54
#6A1A96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#6A1A96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1A96
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1A96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1A96 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#633B59
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #6a1a96; /* rgb */ color: rgb(106, 26, 150); /* oklch */ color: oklch(41.6% 0.187 309.4);
Tailwind
colors: {
custom: {
50: '#9a62b6',
500: '#6a1a96',
950: '#000000',
},
}SCSS
$custom: #6a1a96; $custom-light: #9a62b6; $custom-dark: #000000;
JSON
{
"hex": "#6a1a96",
"rgb": {
"r": 106,
"g": 26,
"b": 150
},
"hsl": {
"h": 278.71,
"s": 70.455,
"l": 34.51
},
"oklch": {
"l": 0.41609,
"c": 0.18732,
"h": 309.4
},
"luminance": 0.06005
}Semantic roles & 50–950 ramp
primary
#6A1A96
secondary
#75C24A
accent
#ED3B7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80