#6A17A0#6A17A0
#6A17A0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.199 H 306.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #6A17A0 |
|---|---|
| RGB | rgb(106, 23, 160) |
| HSL | hsl(276, 75%, 36%) |
| HSV | hsv(276, 86%, 63%) |
| CMYK | cmyk(33.7%, 85.6%, 0%, 37.3%) |
| CIE-LAB | lab(29.95, 56.85, -56.18) |
| CIE-LCH | lch(29.95, 79.92, 315.34°) |
| OKLab | oklab(42.23% 0.1182 -0.1601) |
| OKLCH | oklch(42.23% 0.199 306.4) |
| XYZ | xyz(12.5940, 6.2152, 33.7871) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.39
Rebeccapurple
#663399
ΔE00 4.77
Violet Blue
#510AC9
ΔE00 6.98
Indigo
#4B0082
ΔE00 7.09
Purple Blue
#5D21D0
ΔE00 7.41
Indigo Blue
#3A18B1
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A17A0 #4DA017
analogous
#2517A0 #6A17A0 #A01791
triadic
#6A17A0 #A06A17 #17A06A
tetradic
#6A17A0 #A02517 #4DA017 #1791A0
square
#6A17A0 #A02517 #4DA017 #1791A0
split-complementary
#6A17A0 #91A017 #17A025
monochromatic
#230835 #470F6A #6A17A0 #8D1FD6 #A94CE5
Accessibility & contrast
On white
9.36
#6A17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#6A17A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A17A0
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A17A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A17A0 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#603E5F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6a17a0; /* rgb */ color: rgb(106, 23, 160); /* oklch */ color: oklch(42.2% 0.199 306.4);
Tailwind
colors: {
custom: {
50: '#9b61bd',
500: '#6a17a0',
950: '#000000',
},
}SCSS
$custom: #6a17a0; $custom-light: #9b61bd; $custom-dark: #000000;
JSON
{
"hex": "#6a17a0",
"rgb": {
"r": 106,
"g": 23,
"b": 160
},
"hsl": {
"h": 276.35,
"s": 74.863,
"l": 35.882
},
"oklch": {
"l": 0.42233,
"c": 0.19897,
"h": 306.4
},
"luminance": 0.06215
}Semantic roles & 50–950 ramp
primary
#6A17A0
secondary
#7CC74C
accent
#F13680
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81