#6C189F#6C189F
#6C189F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.5% C 0.198 H 307.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #6C189F |
|---|---|
| RGB | rgb(108, 24, 159) |
| HSL | hsl(277, 74%, 36%) |
| HSV | hsv(277, 85%, 62%) |
| CMYK | cmyk(32.1%, 84.9%, 0%, 37.6%) |
| CIE-LAB | lab(30.27, 56.65, -55.04) |
| CIE-LCH | lch(30.27, 78.98, 315.82°) |
| OKLab | oklab(42.49% 0.1207 -0.1567) |
| OKLCH | oklch(42.49% 0.198 307.6) |
| XYZ | xyz(12.7676, 6.3448, 33.3462) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.93
Rebeccapurple
#663399
ΔE00 4.62
Indigo
#4B0082
ΔE00 7.34
Violet Blue
#510AC9
ΔE00 7.38
Purple Blue
#5D21D0
ΔE00 7.67
Purple
#800080
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C189F #4B9F18
analogous
#28189F #6C189F #9F188E
triadic
#6C189F #9F6C18 #189F6C
tetradic
#6C189F #9F2818 #4B9F18 #188E9F
square
#6C189F #9F2818 #4B9F18 #188E9F
split-complementary
#6C189F #8E9F18 #189F28
monochromatic
#240835 #48106A #6C189F #9020D4 #AB4DE4
Accessibility & contrast
On white
9.26
#6C189F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#6C189F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C189F
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C189F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C189F | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 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: #6c189f; /* rgb */ color: rgb(108, 24, 159); /* oklch */ color: oklch(42.5% 0.198 307.6);
Tailwind
colors: {
custom: {
50: '#9c62bc',
500: '#6c189f',
950: '#000000',
},
}SCSS
$custom: #6c189f; $custom-light: #9c62bc; $custom-dark: #000000;
JSON
{
"hex": "#6c189f",
"rgb": {
"r": 108,
"g": 24,
"b": 159
},
"hsl": {
"h": 277.333,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.42488,
"c": 0.19778,
"h": 307.6
},
"luminance": 0.06345
}Semantic roles & 50–950 ramp
primary
#6C189F
secondary
#7BC64D
accent
#F0377D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81