#6A1B96#6A1B96
#6A1B96 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.186 H 309.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1B96 |
|---|---|
| RGB | rgb(106, 27, 150) |
| HSL | hsl(279, 69%, 35%) |
| HSV | hsv(279, 82%, 59%) |
| CMYK | cmyk(29.3%, 82%, 0%, 41.2%) |
| CIE-LAB | lab(29.54, 53.42, -50.74) |
| CIE-LCH | lch(29.54, 73.68, 316.47°) |
| OKLab | oklab(41.69% 0.1182 -0.1441) |
| OKLCH | oklch(41.69% 0.186 309.4) |
| XYZ | xyz(11.8397, 6.0503, 29.3924) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.87
Rebeccapurple
#663399
ΔE00 4.36
Indigo
#4B0082
ΔE00 6.81
Purple
#800080
ΔE00 6.93
Darkmagenta
#8B008B
ΔE00 7.32
Darkish Purple
#751973
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1B96 #47961B
analogous
#2D1B96 #6A1B96 #961B84
triadic
#6A1B96 #966A1B #1B966A
tetradic
#6A1B96 #962D1B #47961B #1B8496
square
#6A1B96 #962D1B #47961B #1B8496
split-complementary
#6A1B96 #84961B #1B962D
monochromatic
#21082E #451262 #6A1B96 #8F24CA #AB4DDF
Accessibility & contrast
On white
9.50
#6A1B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#6A1B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1B96
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1B96 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#633B59
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a1b96; /* rgb */ color: rgb(106, 27, 150); /* oklch */ color: oklch(41.7% 0.186 309.4);
Tailwind
colors: {
custom: {
50: '#9a62b6',
500: '#6a1b96',
950: '#000000',
},
}SCSS
$custom: #6a1b96; $custom-light: #9a62b6; $custom-dark: #000000;
JSON
{
"hex": "#6a1b96",
"rgb": {
"r": 106,
"g": 27,
"b": 150
},
"hsl": {
"h": 278.537,
"s": 69.492,
"l": 34.706
},
"oklch": {
"l": 0.41689,
"c": 0.18642,
"h": 309.4
},
"luminance": 0.0605
}Semantic roles & 50–950 ramp
primary
#6A1B96
secondary
#76C14C
accent
#EC3B7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80