#6A1F91#6A1F91
#6A1F91 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.178 H 310.8°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1F91 |
|---|---|
| RGB | rgb(106, 31, 145) |
| HSL | hsl(279, 65%, 35%) |
| HSV | hsv(279, 79%, 57%) |
| CMYK | cmyk(26.9%, 78.6%, 0%, 43.1%) |
| CIE-LAB | lab(29.64, 50.91, -47.51) |
| CIE-LCH | lch(29.64, 69.63, 316.98°) |
| OKLab | oklab(41.63% 0.1161 -0.1347) |
| OKLCH | oklch(41.63% 0.178 310.8) |
| XYZ | xyz(11.5437, 6.0888, 27.3497) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.77
Rebeccapurple
#663399
ΔE00 4.11
Purple
#800080
ΔE00 6.42
Darkmagenta
#8B008B
ΔE00 6.95
Indigo
#4B0082
ΔE00 7.06
Darkish Purple
#751973
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1F91 #46911F
analogous
#311F91 #6A1F91 #911F7F
triadic
#6A1F91 #916A1F #1F916A
tetradic
#6A1F91 #91311F #46911F #1F7F91
square
#6A1F91 #91311F #46911F #1F7F91
split-complementary
#6A1F91 #7F911F #1F9131
monochromatic
#20092C #45145F #6A1F91 #8F2AC3 #AB51DA
Accessibility & contrast
On white
9.47
#6A1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#6A1F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1F91
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1F91 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#01478F
Tritanopia (blue-blind)
#653B57
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a1f91; /* rgb */ color: rgb(106, 31, 145); /* oklch */ color: oklch(41.6% 0.178 310.8);
Tailwind
colors: {
custom: {
50: '#9964b2',
500: '#6a1f91',
950: '#000000',
},
}SCSS
$custom: #6a1f91; $custom-light: #9964b2; $custom-dark: #000000;
JSON
{
"hex": "#6a1f91",
"rgb": {
"r": 106,
"g": 31,
"b": 145
},
"hsl": {
"h": 279.474,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.41632,
"c": 0.17777,
"h": 310.8
},
"luminance": 0.06088
}Semantic roles & 50–950 ramp
primary
#6A1F91
secondary
#75BD4F
accent
#E84079
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80