#6A1E8A#6A1E8A
#6A1E8A is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.172 H 313.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1E8A |
|---|---|
| RGB | rgb(106, 30, 138) |
| HSL | hsl(282, 64%, 33%) |
| HSV | hsv(282, 78%, 54%) |
| CMYK | cmyk(23.2%, 78.3%, 0%, 45.9%) |
| CIE-LAB | lab(28.97, 49.77, -44.25) |
| CIE-LCH | lch(28.97, 66.59, 318.36°) |
| OKLab | oklab(41% 0.1183 -0.1251) |
| OKLCH | oklch(41% 0.172 313.4) |
| XYZ | xyz(10.9948, 5.8280, 24.5856) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.15
Rebeccapurple
#663399
ΔE00 4.87
Purple
#800080
ΔE00 5.58
Darkish Purple
#751973
ΔE00 5.99
Darkmagenta
#8B008B
ΔE00 6.46
Indigo
#4B0082
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1E8A #3E8A1E
analogous
#341E8A #6A1E8A #8A1E74
triadic
#6A1E8A #8A6A1E #1E8A6A
tetradic
#6A1E8A #8A341E #3E8A1E #1E748A
square
#6A1E8A #8A341E #3E8A1E #1E748A
split-complementary
#6A1E8A #748A1E #1E8A34
monochromatic
#1D0825 #431358 #6A1E8A #9129BC #AE4BD8
Accessibility & contrast
On white
9.70
#6A1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#6A1E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1E8A
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1E8A | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#124688
Tritanopia (blue-blind)
#673753
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #6a1e8a; /* rgb */ color: rgb(106, 30, 138); /* oklch */ color: oklch(41.0% 0.172 313.4);
Tailwind
colors: {
custom: {
50: '#9963ad',
500: '#6a1e8a',
950: '#000000',
},
}SCSS
$custom: #6a1e8a; $custom-light: #9963ad; $custom-dark: #000000;
JSON
{
"hex": "#6a1e8a",
"rgb": {
"r": 106,
"g": 30,
"b": 138
},
"hsl": {
"h": 282.222,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.41,
"c": 0.17216,
"h": 313.4
},
"luminance": 0.05828
}Semantic roles & 50–950 ramp
primary
#6A1E8A
secondary
#6BBA4A
accent
#E74172
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F