#6A159E#6A159E
#6A159E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.199 H 307.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #6A159E |
|---|---|
| RGB | rgb(106, 21, 158) |
| HSL | hsl(277, 77%, 35%) |
| HSV | hsv(277, 87%, 62%) |
| CMYK | cmyk(32.9%, 86.7%, 0%, 38%) |
| CIE-LAB | lab(29.59, 56.97, -55.56) |
| CIE-LCH | lch(29.59, 79.58, 315.72°) |
| OKLab | oklab(41.93% 0.12 -0.1582) |
| OKLCH | oklch(41.93% 0.199 307.2) |
| XYZ | xyz(12.3822, 6.0693, 32.8603) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.37
Rebeccapurple
#663399
ΔE00 4.95
Indigo
#4B0082
ΔE00 6.84
Violet Blue
#510AC9
ΔE00 7.23
Purple Blue
#5D21D0
ΔE00 7.76
Purple
#800080
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A159E #499E15
analogous
#25159E #6A159E #9E158E
triadic
#6A159E #9E6A15 #159E6A
tetradic
#6A159E #9E2515 #499E15 #158E9E
square
#6A159E #9E2515 #499E15 #158E9E
split-complementary
#6A159E #8E9E15 #159E25
monochromatic
#220732 #460E68 #6A159E #8E1CD4 #AA47E7
Accessibility & contrast
On white
9.49
#6A159E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#6A159E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A159E
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A159E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A159E | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00469B
Tritanopia (blue-blind)
#613D5D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a159e; /* rgb */ color: rgb(106, 21, 158); /* oklch */ color: oklch(41.9% 0.199 307.2);
Tailwind
colors: {
custom: {
50: '#9a61bc',
500: '#6a159e',
950: '#000000',
},
}SCSS
$custom: #6a159e; $custom-light: #9a61bc; $custom-dark: #000000;
JSON
{
"hex": "#6a159e",
"rgb": {
"r": 106,
"g": 21,
"b": 158
},
"hsl": {
"h": 277.226,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.41929,
"c": 0.19861,
"h": 307.2
},
"luminance": 0.06069
}Semantic roles & 50–950 ramp
primary
#6A159E
secondary
#78C747
accent
#F3357D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81