#6A1B99#6A1B99
#6A1B99 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.189 H 308.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #6A1B99 |
|---|---|
| RGB | rgb(106, 27, 153) |
| HSL | hsl(278, 70%, 35%) |
| HSV | hsv(278, 82%, 60%) |
| CMYK | cmyk(30.7%, 82.4%, 0%, 40%) |
| CIE-LAB | lab(29.78, 54.08, -52.18) |
| CIE-LCH | lch(29.78, 75.15, 316.02°) |
| OKLab | oklab(41.94% 0.1175 -0.1484) |
| OKLCH | oklch(41.94% 0.189 308.4) |
| XYZ | xyz(12.0844, 6.1481, 30.6809) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.92
Rebeccapurple
#663399
ΔE00 4.29
Indigo
#4B0082
ΔE00 6.93
Purple
#800080
ΔE00 7.31
Darkmagenta
#8B008B
ΔE00 7.59
Violet Blue
#510AC9
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A1B99 #4A991B
analogous
#2B1B99 #6A1B99 #991B89
triadic
#6A1B99 #996A1B #1B996A
tetradic
#6A1B99 #992B1B #4A991B #1B8999
square
#6A1B99 #992B1B #4A991B #1B8999
split-complementary
#6A1B99 #89991B #1B992B
monochromatic
#220931 #461265 #6A1B99 #8E24CD #AA4FE0
Accessibility & contrast
On white
9.42
#6A1B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#6A1B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A1B99
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A1B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A1B99 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#623C5B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a1b99; /* rgb */ color: rgb(106, 27, 153); /* oklch */ color: oklch(41.9% 0.189 308.4);
Tailwind
colors: {
custom: {
50: '#9a63b8',
500: '#6a1b99',
950: '#000000',
},
}SCSS
$custom: #6a1b99; $custom-light: #9a63b8; $custom-dark: #000000;
JSON
{
"hex": "#6a1b99",
"rgb": {
"r": 106,
"g": 27,
"b": 153
},
"hsl": {
"h": 277.619,
"s": 70,
"l": 35.294
},
"oklch": {
"l": 0.41935,
"c": 0.18923,
"h": 308.4
},
"luminance": 0.06148
}Semantic roles & 50–950 ramp
primary
#6A1B99
secondary
#79C24E
accent
#ED3B7D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80