#6A1A94#6A1A94
#6A1A94 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.4% C 0.185 H 310.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1A94 |
|---|---|
| RGB | rgb(106, 26, 148) |
| HSL | hsl(279, 70%, 34%) |
| HSV | hsv(279, 82%, 58%) |
| CMYK | cmyk(28.4%, 82.4%, 0%, 42%) |
| CIE-LAB | lab(29.26, 53.32, -49.96) |
| CIE-LCH | lch(29.26, 73.07, 316.86°) |
| OKLab | oklab(41.45% 0.1195 -0.1418) |
| OKLCH | oklch(41.45% 0.185 310.1) |
| XYZ | xyz(11.6575, 5.9413, 28.5439) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.91
Rebeccapurple
#663399
ΔE00 4.57
Purple
#800080
ΔE00 6.66
Indigo
#4B0082
ΔE00 6.68
Darkmagenta
#8B008B
ΔE00 7.15
Darkish Purple
#751973
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1A94 #44941A
analogous
#2D1A94 #6A1A94 #941A81
triadic
#6A1A94 #946A1A #1A946A
tetradic
#6A1A94 #942D1A #44941A #1A8194
square
#6A1A94 #942D1A #44941A #1A8194
split-complementary
#6A1A94 #81941A #1A942D
monochromatic
#1F082C #451160 #6A1A94 #8F23C8 #AC49DF
Accessibility & contrast
On white
9.60
#6A1A94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#6A1A94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1A94
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1A94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1A94 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#643A58
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #6a1a94; /* rgb */ color: rgb(106, 26, 148); /* oklch */ color: oklch(41.4% 0.185 310.1);
Tailwind
colors: {
custom: {
50: '#9962b4',
500: '#6a1a94',
950: '#000000',
},
}SCSS
$custom: #6a1a94; $custom-light: #9962b4; $custom-dark: #000000;
JSON
{
"hex": "#6a1a94",
"rgb": {
"r": 106,
"g": 26,
"b": 148
},
"hsl": {
"h": 279.344,
"s": 70.115,
"l": 34.118
},
"oklch": {
"l": 0.41446,
"c": 0.18547,
"h": 310.1
},
"luminance": 0.05941
}Semantic roles & 50–950 ramp
primary
#6A1A94
secondary
#72C149
accent
#ED3B78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80