#6C1B99#6C1B99
#6C1B99 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.190 H 309.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #6C1B99 |
|---|---|
| RGB | rgb(108, 27, 153) |
| HSL | hsl(279, 70%, 35%) |
| HSV | hsv(279, 82%, 60%) |
| CMYK | cmyk(29.4%, 82.4%, 0%, 40%) |
| CIE-LAB | lab(30.09, 54.42, -51.67) |
| CIE-LCH | lch(30.09, 75.04, 316.48°) |
| OKLab | oklab(42.21% 0.1203 -0.1468) |
| OKLCH | oklch(42.21% 0.19 309.3) |
| XYZ | xyz(12.3249, 6.2722, 30.6922) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.55
Rebeccapurple
#663399
ΔE00 4.31
Purple
#800080
ΔE00 7.02
Indigo
#4B0082
ΔE00 7.22
Darkmagenta
#8B008B
ΔE00 7.23
Darkish Purple
#751973
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C1B99 #48991B
analogous
#2D1B99 #6C1B99 #991B87
triadic
#6C1B99 #996C1B #1B996C
tetradic
#6C1B99 #992D1B #48991B #1B8799
square
#6C1B99 #992D1B #48991B #1B8799
split-complementary
#6C1B99 #87991B #1B992D
monochromatic
#230931 #471265 #6C1B99 #9124CD #AC4FE0
Accessibility & contrast
On white
9.32
#6C1B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#6C1B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C1B99
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C1B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C1B99 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#653C5B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6c1b99; /* rgb */ color: rgb(108, 27, 153); /* oklch */ color: oklch(42.2% 0.190 309.3);
Tailwind
colors: {
custom: {
50: '#9b63b8',
500: '#6c1b99',
950: '#000000',
},
}SCSS
$custom: #6c1b99; $custom-light: #9b63b8; $custom-dark: #000000;
JSON
{
"hex": "#6c1b99",
"rgb": {
"r": 108,
"g": 27,
"b": 153
},
"hsl": {
"h": 278.571,
"s": 70,
"l": 35.294
},
"oklch": {
"l": 0.42211,
"c": 0.18976,
"h": 309.3
},
"luminance": 0.06272
}Semantic roles & 50–950 ramp
primary
#6C1B99
secondary
#77C24E
accent
#ED3B7B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80