#6A1B9E#6A1B9E
#6A1B9E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.4% C 0.194 H 306.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1B9E |
|---|---|
| RGB | rgb(106, 27, 158) |
| HSL | hsl(276, 71%, 36%) |
| HSV | hsv(276, 83%, 62%) |
| CMYK | cmyk(32.9%, 82.9%, 0%, 38%) |
| CIE-LAB | lab(30.20, 55.18, -54.56) |
| CIE-LCH | lch(30.20, 77.60, 315.33°) |
| OKLab | oklab(42.35% 0.1161 -0.1553) |
| OKLCH | oklch(42.35% 0.194 306.8) |
| XYZ | xyz(12.5060, 6.3168, 32.9016) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.13
Rebeccapurple
#663399
ΔE00 4.28
Indigo
#4B0082
ΔE00 7.21
Violet Blue
#510AC9
ΔE00 7.34
Purple Blue
#5D21D0
ΔE00 7.62
Purple
#800080
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1B9E #4F9E1B
analogous
#281B9E #6A1B9E #9E1B91
triadic
#6A1B9E #9E6A1B #1B9E6A
tetradic
#6A1B9E #9E281B #4F9E1B #1B919E
square
#6A1B9E #9E281B #4F9E1B #1B919E
split-complementary
#6A1B9E #919E1B #1B9E28
monochromatic
#240935 #47126A #6A1B9E #8D24D2 #A852E1
Accessibility & contrast
On white
9.28
#6A1B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#6A1B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1B9E
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1B9E | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#613F5E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6a1b9e; /* rgb */ color: rgb(106, 27, 158); /* oklch */ color: oklch(42.4% 0.194 306.8);
Tailwind
colors: {
custom: {
50: '#9a63bc',
500: '#6a1b9e',
950: '#000000',
},
}SCSS
$custom: #6a1b9e; $custom-light: #9a63bc; $custom-dark: #000000;
JSON
{
"hex": "#6a1b9e",
"rgb": {
"r": 106,
"g": 27,
"b": 158
},
"hsl": {
"h": 276.183,
"s": 70.811,
"l": 36.275
},
"oklch": {
"l": 0.42353,
"c": 0.19391,
"h": 306.8
},
"luminance": 0.06317
}Semantic roles & 50–950 ramp
primary
#6A1B9E
secondary
#7EC451
accent
#EE3A81
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81