#6B1B94#6B1B94
#6B1B94 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.185 H 310.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1B94 |
|---|---|
| RGB | rgb(107, 27, 148) |
| HSL | hsl(280, 69%, 34%) |
| HSV | hsv(280, 82%, 58%) |
| CMYK | cmyk(27.7%, 81.8%, 0%, 42%) |
| CIE-LAB | lab(29.53, 53.16, -49.51) |
| CIE-LCH | lch(29.53, 72.65, 317.04°) |
| OKLab | oklab(41.67% 0.1201 -0.1405) |
| OKLCH | oklch(41.67% 0.185 310.5) |
| XYZ | xyz(11.7996, 6.0481, 28.5570) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.68
Rebeccapurple
#663399
ΔE00 4.46
Purple
#800080
ΔE00 6.52
Indigo
#4B0082
ΔE00 6.91
Darkmagenta
#8B008B
ΔE00 6.96
Darkish Purple
#751973
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1B94 #44941B
analogous
#2E1B94 #6B1B94 #941B81
triadic
#6B1B94 #946B1B #1B946B
tetradic
#6B1B94 #942E1B #44941B #1B8194
square
#6B1B94 #942E1B #44941B #1B8194
split-complementary
#6B1B94 #81941B #1B942E
monochromatic
#20082C #461260 #6B1B94 #9024C8 #AC4BDE
Accessibility & contrast
On white
9.50
#6B1B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#6B1B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1B94
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1B94 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#653A58
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6b1b94; /* rgb */ color: rgb(107, 27, 148); /* oklch */ color: oklch(41.7% 0.185 310.5);
Tailwind
colors: {
custom: {
50: '#9a62b4',
500: '#6b1b94',
950: '#000000',
},
}SCSS
$custom: #6b1b94; $custom-light: #9a62b4; $custom-dark: #000000;
JSON
{
"hex": "#6b1b94",
"rgb": {
"r": 107,
"g": 27,
"b": 148
},
"hsl": {
"h": 279.669,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.41666,
"c": 0.18485,
"h": 310.5
},
"luminance": 0.06048
}Semantic roles & 50–950 ramp
primary
#6B1B94
secondary
#72C04B
accent
#EC3C78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80