#6B1F9F#6B1F9F
#6B1F9F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.191 H 306.6°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1F9F |
|---|---|
| RGB | rgb(107, 31, 159) |
| HSL | hsl(276, 67%, 37%) |
| HSV | hsv(276, 81%, 62%) |
| CMYK | cmyk(32.7%, 80.5%, 0%, 37.6%) |
| CIE-LAB | lab(30.90, 54.20, -54.01) |
| CIE-LCH | lch(30.90, 76.52, 315.10°) |
| OKLab | oklab(42.9% 0.1142 -0.1537) |
| OKLCH | oklch(42.9% 0.191 306.6) |
| XYZ | xyz(12.8100, 6.6091, 33.3950) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.79
Purple (survey)
#7E1E9C
ΔE00 3.88
Violet Blue
#510AC9
ΔE00 7.46
Purple Blue
#5D21D0
ΔE00 7.47
Indigo
#4B0082
ΔE00 7.72
Darkmagenta
#8B008B
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1F9F #539F1F
analogous
#2B1F9F #6B1F9F #9F1F93
triadic
#6B1F9F #9F6B1F #1F9F6B
tetradic
#6B1F9F #9F2B1F #539F1F #1F939F
square
#6B1F9F #9F2B1F #539F1F #1F939F
split-complementary
#6B1F9F #939F1F #1F9F2B
monochromatic
#260B39 #49156C #6B1F9F #8D29D2 #A95ADF
Accessibility & contrast
On white
9.04
#6B1F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#6B1F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1F9F
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1F9F | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#62415F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6b1f9f; /* rgb */ color: rgb(107, 31, 159); /* oklch */ color: oklch(42.9% 0.191 306.6);
Tailwind
colors: {
custom: {
50: '#9b65bc',
500: '#6b1f9f',
950: '#000000',
},
}SCSS
$custom: #6b1f9f; $custom-light: #9b65bc; $custom-dark: #000000;
JSON
{
"hex": "#6b1f9f",
"rgb": {
"r": 107,
"g": 31,
"b": 159
},
"hsl": {
"h": 275.625,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.42898,
"c": 0.19149,
"h": 306.6
},
"luminance": 0.06609
}Semantic roles & 50–950 ramp
primary
#6B1F9F
secondary
#83C357
accent
#EA3E84
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81