#6B1F94#6B1F94
#6B1F94 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.0% C 0.181 H 310.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1F94 |
|---|---|
| RGB | rgb(107, 31, 148) |
| HSL | hsl(279, 65%, 35%) |
| HSV | hsv(279, 79%, 58%) |
| CMYK | cmyk(27.7%, 79.1%, 0%, 42%) |
| CIE-LAB | lab(30.02, 51.75, -48.72) |
| CIE-LCH | lch(30.02, 71.08, 316.73°) |
| OKLab | oklab(42.01% 0.1168 -0.1382) |
| OKLCH | oklch(42.01% 0.181 310.2) |
| XYZ | xyz(11.8976, 6.2442, 28.5897) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.54
Rebeccapurple
#663399
ΔE00 3.95
Purple
#800080
ΔE00 6.63
Darkmagenta
#8B008B
ΔE00 7.01
Indigo
#4B0082
ΔE00 7.25
Darkish Purple
#751973
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1F94 #48941F
analogous
#301F94 #6B1F94 #941F83
triadic
#6B1F94 #946B1F #1F946B
tetradic
#6B1F94 #94301F #48941F #1F8394
square
#6B1F94 #94301F #48941F #1F8394
split-complementary
#6B1F94 #83941F #1F9430
monochromatic
#220A2F #461461 #6B1F94 #902AC7 #AB53DB
Accessibility & contrast
On white
9.34
#6B1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#6B1F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1F94
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1F94 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#653C59
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6b1f94; /* rgb */ color: rgb(107, 31, 148); /* oklch */ color: oklch(42.0% 0.181 310.2);
Tailwind
colors: {
custom: {
50: '#9a64b4',
500: '#6b1f94',
950: '#000000',
},
}SCSS
$custom: #6b1f94; $custom-light: #9a64b4; $custom-dark: #000000;
JSON
{
"hex": "#6b1f94",
"rgb": {
"r": 107,
"g": 31,
"b": 148
},
"hsl": {
"h": 278.974,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.42007,
"c": 0.18095,
"h": 310.2
},
"luminance": 0.06244
}Semantic roles & 50–950 ramp
primary
#6B1F94
secondary
#77BE51
accent
#E83F7B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80