#6C179F#6C179F
#6C179F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.4% C 0.199 H 307.7°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #6C179F |
|---|---|
| RGB | rgb(108, 23, 159) |
| HSL | hsl(278, 75%, 36%) |
| HSV | hsv(278, 86%, 62%) |
| CMYK | cmyk(32.1%, 85.5%, 0%, 37.6%) |
| CIE-LAB | lab(30.17, 56.94, -55.20) |
| CIE-LCH | lch(30.17, 79.30, 315.89°) |
| OKLab | oklab(42.42% 0.1214 -0.1571) |
| OKLCH | oklch(42.42% 0.199 307.7) |
| XYZ | xyz(12.7474, 6.3043, 33.3395) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.97
Rebeccapurple
#663399
ΔE00 4.73
Indigo
#4B0082
ΔE00 7.28
Violet Blue
#510AC9
ΔE00 7.36
Purple Blue
#5D21D0
ΔE00 7.69
Purple
#800080
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C179F #4A9F17
analogous
#28179F #6C179F #9F178E
triadic
#6C179F #9F6C17 #179F6C
tetradic
#6C179F #9F2817 #4A9F17 #178E9F
square
#6C179F #9F2817 #4A9F17 #178E9F
split-complementary
#6C179F #8E9F17 #179F28
monochromatic
#230834 #480F6A #6C179F #901FD4 #AB4BE5
Accessibility & contrast
On white
9.29
#6C179F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#6C179F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C179F
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C179F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C179F | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#633D5E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6c179f; /* rgb */ color: rgb(108, 23, 159); /* oklch */ color: oklch(42.4% 0.199 307.7);
Tailwind
colors: {
custom: {
50: '#9c62bc',
500: '#6c179f',
950: '#000000',
},
}SCSS
$custom: #6c179f; $custom-light: #9c62bc; $custom-dark: #000000;
JSON
{
"hex": "#6c179f",
"rgb": {
"r": 108,
"g": 23,
"b": 159
},
"hsl": {
"h": 277.5,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.4242,
"c": 0.19854,
"h": 307.7
},
"luminance": 0.06304
}Semantic roles & 50–950 ramp
primary
#6C179F
secondary
#79C74B
accent
#F1367D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81