#6C199F#6C199F
#6C199F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.197 H 307.5°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #6C199F |
|---|---|
| RGB | rgb(108, 25, 159) |
| HSL | hsl(277, 73%, 36%) |
| HSV | hsv(277, 84%, 62%) |
| CMYK | cmyk(32.1%, 84.3%, 0%, 37.6%) |
| CIE-LAB | lab(30.37, 56.35, -54.88) |
| CIE-LCH | lch(30.37, 78.65, 315.76°) |
| OKLab | oklab(42.56% 0.12 -0.1562) |
| OKLCH | oklch(42.56% 0.197 307.5) |
| XYZ | xyz(12.7886, 6.3868, 33.3532) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.89
Rebeccapurple
#663399
ΔE00 4.51
Violet Blue
#510AC9
ΔE00 7.40
Indigo
#4B0082
ΔE00 7.40
Purple Blue
#5D21D0
ΔE00 7.65
Purple
#800080
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C199F #4C9F19
analogous
#29199F #6C199F #9F198F
triadic
#6C199F #9F6C19 #199F6C
tetradic
#6C199F #9F2919 #4C9F19 #198F9F
square
#6C199F #9F2919 #4C9F19 #198F9F
split-complementary
#6C199F #8F9F19 #199F29
monochromatic
#240835 #48116A #6C199F #9021D4 #AB4FE3
Accessibility & contrast
On white
9.22
#6C199F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#6C199F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C199F
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C199F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C199F | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#633E5E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6c199f; /* rgb */ color: rgb(108, 25, 159); /* oklch */ color: oklch(42.6% 0.197 307.5);
Tailwind
colors: {
custom: {
50: '#9c62bc',
500: '#6c199f',
950: '#000000',
},
}SCSS
$custom: #6c199f; $custom-light: #9c62bc; $custom-dark: #000000;
JSON
{
"hex": "#6c199f",
"rgb": {
"r": 108,
"g": 25,
"b": 159
},
"hsl": {
"h": 277.164,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.42559,
"c": 0.19699,
"h": 307.5
},
"luminance": 0.06387
}Semantic roles & 50–950 ramp
primary
#6C199F
secondary
#7CC64E
accent
#F0387E
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81