#6D179F#6D179F
#6D179F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.6% C 0.199 H 308.1°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #6D179F |
|---|---|
| RGB | rgb(109, 23, 159) |
| HSL | hsl(278, 75%, 36%) |
| HSV | hsv(278, 86%, 62%) |
| CMYK | cmyk(31.4%, 85.5%, 0%, 37.6%) |
| CIE-LAB | lab(30.32, 57.09, -54.95) |
| CIE-LCH | lch(30.32, 79.24, 316.10°) |
| OKLab | oklab(42.56% 0.1228 -0.1563) |
| OKLCH | oklch(42.56% 0.199 308.1) |
| XYZ | xyz(12.8698, 6.3674, 33.3452) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.79
Rebeccapurple
#663399
ΔE00 4.73
Indigo
#4B0082
ΔE00 7.42
Violet Blue
#510AC9
ΔE00 7.48
Purple
#800080
ΔE00 7.60
Darkmagenta
#8B008B
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D179F #499F17
analogous
#29179F #6D179F #9F178D
triadic
#6D179F #9F6D17 #179F6D
tetradic
#6D179F #9F2917 #499F17 #178D9F
square
#6D179F #9F2917 #499F17 #178D9F
split-complementary
#6D179F #8D9F17 #179F29
monochromatic
#240834 #480F6A #6D179F #921FD4 #AD4BE5
Accessibility & contrast
On white
9.24
#6D179F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#6D179F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6D179F
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D179F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D179F | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#653D5E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6d179f; /* rgb */ color: rgb(109, 23, 159); /* oklch */ color: oklch(42.6% 0.199 308.1);
Tailwind
colors: {
custom: {
50: '#9c62bc',
500: '#6d179f',
950: '#000000',
},
}SCSS
$custom: #6d179f; $custom-light: #9c62bc; $custom-dark: #000000;
JSON
{
"hex": "#6d179f",
"rgb": {
"r": 109,
"g": 23,
"b": 159
},
"hsl": {
"h": 277.941,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.42558,
"c": 0.19879,
"h": 308.1
},
"luminance": 0.06367
}Semantic roles & 50–950 ramp
primary
#6D179F
secondary
#79C74B
accent
#F1367B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81