#6A1B89#6A1B89
#6A1B89 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.174 H 314.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1B89 |
|---|---|
| RGB | rgb(106, 27, 137) |
| HSL | hsl(283, 67%, 32%) |
| HSV | hsv(283, 80%, 54%) |
| CMYK | cmyk(22.6%, 80.3%, 0%, 46.3%) |
| CIE-LAB | lab(28.52, 50.64, -44.35) |
| CIE-LCH | lch(28.52, 67.32, 318.79°) |
| OKLab | oklab(40.66% 0.1212 -0.1254) |
| OKLCH | oklch(40.66% 0.174 314) |
| XYZ | xyz(10.8504, 5.6546, 24.1819) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.32
Rebeccapurple
#663399
ΔE00 5.30
Purple
#800080
ΔE00 5.38
Darkish Purple
#751973
ΔE00 5.85
Darkmagenta
#8B008B
ΔE00 6.37
Indigo
#4B0082
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1B89 #3A891B
analogous
#331B89 #6A1B89 #891B71
triadic
#6A1B89 #896A1B #1B896A
tetradic
#6A1B89 #89331B #3A891B #1B7189
square
#6A1B89 #89331B #3A891B #1B7189
split-complementary
#6A1B89 #71891B #1B8933
monochromatic
#1B0723 #421156 #6A1B89 #9225BC #B044DA
Accessibility & contrast
On white
9.86
#6A1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#6A1B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1B89
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1B89 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#104587
Tritanopia (blue-blind)
#673552
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #6a1b89; /* rgb */ color: rgb(106, 27, 137); /* oklch */ color: oklch(40.7% 0.174 314.0);
Tailwind
colors: {
custom: {
50: '#9962ac',
500: '#6a1b89',
950: '#000000',
},
}SCSS
$custom: #6a1b89; $custom-light: #9962ac; $custom-dark: #000000;
JSON
{
"hex": "#6a1b89",
"rgb": {
"r": 106,
"g": 27,
"b": 137
},
"hsl": {
"h": 283.091,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.40659,
"c": 0.17435,
"h": 314
},
"luminance": 0.05654
}Semantic roles & 50–950 ramp
primary
#6A1B89
secondary
#66BC44
accent
#EA3E6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F