#6A1F89#6A1F89
#6A1F89 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.170 H 313.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1F89 |
|---|---|
| RGB | rgb(106, 31, 137) |
| HSL | hsl(282, 63%, 33%) |
| HSV | hsv(282, 77%, 54%) |
| CMYK | cmyk(22.6%, 77.4%, 0%, 46.3%) |
| CIE-LAB | lab(29.03, 49.18, -43.53) |
| CIE-LCH | lch(29.03, 65.67, 318.48°) |
| OKLab | oklab(41.02% 0.1176 -0.123) |
| OKLCH | oklch(41.02% 0.17 313.7) |
| XYZ | xyz(10.9484, 5.8506, 24.2146) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.21
Rebeccapurple
#663399
ΔE00 4.87
Purple
#800080
ΔE00 5.51
Darkish Purple
#751973
ΔE00 5.82
Darkmagenta
#8B008B
ΔE00 6.42
Indigo
#4B0082
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1F89 #3E891F
analogous
#351F89 #6A1F89 #891F73
triadic
#6A1F89 #896A1F #1F896A
tetradic
#6A1F89 #89351F #3E891F #1F7389
square
#6A1F89 #89351F #3E891F #1F7389
split-complementary
#6A1F89 #73891F #1F8935
monochromatic
#1D0825 #431457 #6A1F89 #912ABB #AE4CD6
Accessibility & contrast
On white
9.68
#6A1F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#6A1F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1F89
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1F89 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#154687
Tritanopia (blue-blind)
#673753
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #6a1f89; /* rgb */ color: rgb(106, 31, 137); /* oklch */ color: oklch(41.0% 0.170 313.7);
Tailwind
colors: {
custom: {
50: '#9863ac',
500: '#6a1f89',
950: '#000000',
},
}SCSS
$custom: #6a1f89; $custom-light: #9863ac; $custom-dark: #000000;
JSON
{
"hex": "#6a1f89",
"rgb": {
"r": 106,
"g": 31,
"b": 137
},
"hsl": {
"h": 282.453,
"s": 63.095,
"l": 32.941
},
"oklch": {
"l": 0.41017,
"c": 0.17012,
"h": 313.7
},
"luminance": 0.0585
}Semantic roles & 50–950 ramp
primary
#6A1F89
secondary
#6BB94B
accent
#E64272
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F