#6B1F99#6B1F99
#6B1F99 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.186 H 308.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1F99 |
|---|---|
| RGB | rgb(107, 31, 153) |
| HSL | hsl(277, 66%, 36%) |
| HSV | hsv(277, 80%, 60%) |
| CMYK | cmyk(30.1%, 79.7%, 0%, 40%) |
| CIE-LAB | lab(30.41, 52.86, -51.15) |
| CIE-LCH | lch(30.41, 73.55, 315.94°) |
| OKLab | oklab(42.41% 0.1157 -0.1453) |
| OKLCH | oklch(42.41% 0.186 308.5) |
| XYZ | xyz(12.3020, 6.4059, 30.7192) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.60
Rebeccapurple
#663399
ΔE00 3.77
Purple
#800080
ΔE00 7.27
Indigo
#4B0082
ΔE00 7.40
Darkmagenta
#8B008B
ΔE00 7.45
Darkish Purple
#751973
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1F99 #4D991F
analogous
#2E1F99 #6B1F99 #991F8A
triadic
#6B1F99 #996B1F #1F996B
tetradic
#6B1F99 #992E1F #4D991F #1F8A99
square
#6B1F99 #992E1F #4D991F #1F8A99
split-complementary
#6B1F99 #8A991F #1F992E
monochromatic
#240A33 #471566 #6B1F99 #8F29CC #AA56DD
Accessibility & contrast
On white
9.21
#6B1F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#6B1F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1F99
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1F99 | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#643E5C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6b1f99; /* rgb */ color: rgb(107, 31, 153); /* oklch */ color: oklch(42.4% 0.186 308.5);
Tailwind
colors: {
custom: {
50: '#9a64b8',
500: '#6b1f99',
950: '#000000',
},
}SCSS
$custom: #6b1f99; $custom-light: #9a64b8; $custom-dark: #000000;
JSON
{
"hex": "#6b1f99",
"rgb": {
"r": 107,
"g": 31,
"b": 153
},
"hsl": {
"h": 277.377,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.42407,
"c": 0.18573,
"h": 308.5
},
"luminance": 0.06406
}Semantic roles & 50–950 ramp
primary
#6B1F99
secondary
#7DC054
accent
#E93F7F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80