#6C175B#6C175B
#6C175B is a dark, vivid pink. Relative luminance 0.046; OKLCH L 37.6% C 0.140 H 337.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #6C175B |
|---|---|
| RGB | rgb(108, 23, 91) |
| HSL | hsl(312, 65%, 26%) |
| HSV | hsv(312, 79%, 42%) |
| CMYK | cmyk(0%, 78.7%, 15.7%, 57.6%) |
| CIE-LAB | lab(25.43, 43.94, -19.79) |
| CIE-LCH | lch(25.43, 48.19, 335.75°) |
| OKLab | oklab(37.58% 0.1298 -0.0538) |
| OKLCH | oklch(37.58% 0.14 337.5) |
| XYZ | xyz(8.3792, 4.5571, 10.3338) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 2.39
Grape Purple
#5D1451
ΔE00 3.13
Velvet
#750851
ΔE00 3.92
Darkish Purple
#751973
ΔE00 4.95
Plum (survey)
#580F41
ΔE00 5.86
Grape
#6C3461
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C175B #176C28
analogous
#52176C #6C175B #6C1730
triadic
#6C175B #5B6C17 #175B6C
tetradic
#6C175B #6C5217 #176C28 #17306C
square
#6C175B #6C5217 #176C28 #17306C
split-complementary
#6C175B #306C17 #176C52
monochromatic
#190515 #3A0C30 #6C175B #9E2286 #D12CB0
Accessibility & contrast
On white
10.99
#6C175B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#6C175B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C175B
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C175B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C175B | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A345D
Deuteranopia (green-blind)
#374159
Tritanopia (blue-blind)
#721C37
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #6c175b; /* rgb */ color: rgb(108, 23, 91); /* oklch */ color: oklch(37.6% 0.140 337.5);
Tailwind
colors: {
custom: {
50: '#995e89',
500: '#6c175b',
950: '#000000',
},
}SCSS
$custom: #6c175b; $custom-light: #995e89; $custom-dark: #000000;
JSON
{
"hex": "#6c175b",
"rgb": {
"r": 108,
"g": 23,
"b": 91
},
"hsl": {
"h": 312,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.37581,
"c": 0.14046,
"h": 337.5
},
"luminance": 0.04556
}Semantic roles & 50–950 ramp
primary
#6C175B
secondary
#3DA251
accent
#E86240
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050B
muted
#7E797C