#6C199C#6C199C
#6C199C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.3% C 0.194 H 308.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #6C199C |
|---|---|
| RGB | rgb(108, 25, 156) |
| HSL | hsl(278, 72%, 35%) |
| HSV | hsv(278, 84%, 61%) |
| CMYK | cmyk(30.8%, 84%, 0%, 38.8%) |
| CIE-LAB | lab(30.12, 55.70, -53.46) |
| CIE-LCH | lch(30.12, 77.20, 316.18°) |
| OKLab | oklab(42.31% 0.1209 -0.152) |
| OKLCH | oklch(42.31% 0.194 308.5) |
| XYZ | xyz(12.5315, 6.2839, 31.9988) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.74
Rebeccapurple
#663399
ΔE00 4.50
Indigo
#4B0082
ΔE00 7.23
Purple
#800080
ΔE00 7.37
Darkmagenta
#8B008B
ΔE00 7.51
Violet Blue
#510AC9
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C199C #499C19
analogous
#2A199C #6C199C #9C198B
triadic
#6C199C #9C6C19 #199C6C
tetradic
#6C199C #9C2A19 #499C19 #198B9C
square
#6C199C #9C2A19 #499C19 #198B9C
split-complementary
#6C199C #8B9C19 #199C2A
monochromatic
#230833 #471167 #6C199C #9121D1 #AC4DE2
Accessibility & contrast
On white
9.31
#6C199C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#6C199C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C199C
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C199C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C199C | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#643D5D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6c199c; /* rgb */ color: rgb(108, 25, 156); /* oklch */ color: oklch(42.3% 0.194 308.5);
Tailwind
colors: {
custom: {
50: '#9b62ba',
500: '#6c199c',
950: '#000000',
},
}SCSS
$custom: #6c199c; $custom-light: #9b62ba; $custom-dark: #000000;
JSON
{
"hex": "#6c199c",
"rgb": {
"r": 108,
"g": 25,
"b": 156
},
"hsl": {
"h": 278.015,
"s": 72.376,
"l": 35.49
},
"oklch": {
"l": 0.42307,
"c": 0.19424,
"h": 308.5
},
"luminance": 0.06284
}Semantic roles & 50–950 ramp
primary
#6C199C
secondary
#78C44C
accent
#EF397C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81