#6C175A#6C175A
#6C175A is a dark, vivid pink. Relative luminance 0.045; OKLCH L 37.5% C 0.140 H 338.1°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #6C175A |
|---|---|
| RGB | rgb(108, 23, 90) |
| HSL | hsl(313, 65%, 26%) |
| HSV | hsv(313, 79%, 42%) |
| CMYK | cmyk(0%, 78.7%, 16.7%, 57.6%) |
| CIE-LAB | lab(25.38, 43.78, -19.21) |
| CIE-LCH | lch(25.38, 47.81, 336.31°) |
| OKLab | oklab(37.53% 0.1296 -0.0521) |
| OKLCH | oklch(37.53% 0.14 338.1) |
| XYZ | xyz(8.3364, 4.5399, 10.1081) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 2.32
Grape Purple
#5D1451
ΔE00 3.11
Velvet
#750851
ΔE00 3.70
Darkish Purple
#751973
ΔE00 5.19
Plum (survey)
#580F41
ΔE00 5.68
Grape
#6C3461
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C175A #176C29
analogous
#53176C #6C175A #6C172F
triadic
#6C175A #5A6C17 #175A6C
tetradic
#6C175A #6C5317 #176C29 #172F6C
square
#6C175A #6C5317 #176C29 #172F6C
split-complementary
#6C175A #2F6C17 #176C53
monochromatic
#190515 #3A0C30 #6C175A #9E2284 #D12CAE
Accessibility & contrast
On white
11.01
#6C175A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#6C175A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C175A
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C175A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C175A | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B345C
Deuteranopia (green-blind)
#384158
Tritanopia (blue-blind)
#721C37
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #6c175a; /* rgb */ color: rgb(108, 23, 90); /* oklch */ color: oklch(37.5% 0.140 338.1);
Tailwind
colors: {
custom: {
50: '#995e89',
500: '#6c175a',
950: '#000000',
},
}SCSS
$custom: #6c175a; $custom-light: #995e89; $custom-dark: #000000;
JSON
{
"hex": "#6c175a",
"rgb": {
"r": 108,
"g": 23,
"b": 90
},
"hsl": {
"h": 312.706,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.37526,
"c": 0.13972,
"h": 338.1
},
"luminance": 0.04539
}Semantic roles & 50–950 ramp
primary
#6C175A
secondary
#3DA252
accent
#E86340
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050B
muted
#7E797C