#6B1BAA#6B1BAA
#6B1BAA is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.5% C 0.205 H 303.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6B1BAA |
|---|---|
| RGB | rgb(107, 27, 170) |
| HSL | hsl(274, 73%, 39%) |
| HSV | hsv(274, 84%, 67%) |
| CMYK | cmyk(37.1%, 84.1%, 0%, 33.3%) |
| CIE-LAB | lab(31.38, 58.02, -59.89) |
| CIE-LCH | lch(31.38, 83.38, 314.09°) |
| OKLab | oklab(43.52% 0.1138 -0.171) |
| OKLCH | oklch(43.52% 0.205 303.7) |
| XYZ | xyz(13.7093, 6.8120, 38.6150) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.76
Purple (survey)
#7E1E9C
ΔE00 4.84
Purple Blue
#5D21D0
ΔE00 5.89
Violet Blue
#510AC9
ΔE00 5.92
Indigo Blue
#3A18B1
ΔE00 7.31
Darkviolet
#9400D3
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6B1BAA #5AAA1B
analogous
#231BAA #6B1BAA #AA1BA1
triadic
#6B1BAA #AA6B1B #1BAA6B
tetradic
#6B1BAA #AA231B #5AAA1B #1BA1AA
square
#6B1BAA #AA231B #5AAA1B #1BA1AA
split-complementary
#6B1BAA #A1AA1B #1BAA23
monochromatic
#290A40 #4A1375 #6B1BAA #8C26DC #A85BE5
Accessibility & contrast
On white
8.89
#6B1BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#6B1BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6B1BAA
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6B1BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6B1BAA | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#5E4465
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6b1baa; /* rgb */ color: rgb(107, 27, 170); /* oklch */ color: oklch(43.5% 0.205 303.7);
Tailwind
colors: {
custom: {
50: '#9c64c4',
500: '#6b1baa',
950: '#000000',
},
}SCSS
$custom: #6b1baa; $custom-light: #9c64c4; $custom-dark: #000000;
JSON
{
"hex": "#6b1baa",
"rgb": {
"r": 107,
"g": 27,
"b": 170
},
"hsl": {
"h": 273.566,
"s": 72.589,
"l": 38.627
},
"oklch": {
"l": 0.43517,
"c": 0.20538,
"h": 303.7
},
"luminance": 0.06812
}Semantic roles & 50–950 ramp
primary
#6B1BAA
secondary
#8AC958
accent
#EF3989
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82