#6B1F9D#6B1F9D
#6B1F9D is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.190 H 307.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1F9D |
|---|---|
| RGB | rgb(107, 31, 157) |
| HSL | hsl(276, 67%, 37%) |
| HSV | hsv(276, 80%, 62%) |
| CMYK | cmyk(31.8%, 80.3%, 0%, 38.4%) |
| CIE-LAB | lab(30.74, 53.75, -53.06) |
| CIE-LCH | lch(30.74, 75.53, 315.37°) |
| OKLab | oklab(42.73% 0.1147 -0.1509) |
| OKLCH | oklch(42.73% 0.19 307.2) |
| XYZ | xyz(12.6379, 6.5403, 32.4884) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.75
Purple (survey)
#7E1E9C
ΔE00 3.76
Indigo
#4B0082
ΔE00 7.60
Violet Blue
#510AC9
ΔE00 7.73
Purple
#800080
ΔE00 7.78
Purple Blue
#5D21D0
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1F9D #519D1F
analogous
#2C1F9D #6B1F9D #9D1F90
triadic
#6B1F9D #9D6B1F #1F9D6B
tetradic
#6B1F9D #9D2C1F #519D1F #1F909D
square
#6B1F9D #9D2C1F #519D1F #1F909D
split-complementary
#6B1F9D #909D1F #1F9D2C
monochromatic
#250B37 #48156A #6B1F9D #8E29D0 #A958DE
Accessibility & contrast
On white
9.10
#6B1F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#6B1F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1F9D
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1F9D | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#62405E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #6b1f9d; /* rgb */ color: rgb(107, 31, 157); /* oklch */ color: oklch(42.7% 0.190 307.2);
Tailwind
colors: {
custom: {
50: '#9b64bb',
500: '#6b1f9d',
950: '#000000',
},
}SCSS
$custom: #6b1f9d; $custom-light: #9b64bb; $custom-dark: #000000;
JSON
{
"hex": "#6b1f9d",
"rgb": {
"r": 107,
"g": 31,
"b": 157
},
"hsl": {
"h": 276.19,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.42733,
"c": 0.18957,
"h": 307.2
},
"luminance": 0.0654
}Semantic roles & 50–950 ramp
primary
#6B1F9D
secondary
#81C256
accent
#EA3E82
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81