#6E2158#6E2158
#6E2158 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.127 H 341.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #6E2158 |
|---|---|
| RGB | rgb(110, 33, 88) |
| HSL | hsl(317, 54%, 28%) |
| HSV | hsv(317, 70%, 43%) |
| CMYK | cmyk(0%, 70%, 20%, 56.9%) |
| CIE-LAB | lab(27.04, 40.13, -15.29) |
| CIE-LCH | lch(27.04, 42.94, 339.14°) |
| OKLab | oklab(38.77% 0.1197 -0.0411) |
| OKLCH | oklch(38.77% 0.127 341.1) |
| XYZ | xyz(8.7359, 5.1081, 9.7565) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.57
Rich Purple
#720058
ΔE00 3.89
Grape Purple
#5D1451
ΔE00 4.41
Grape
#6C3461
ΔE00 4.46
Plum (survey)
#580F41
ΔE00 5.84
Darkish Purple
#751973
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E2158 #216E37
analogous
#5D216E #6E2158 #6E2131
triadic
#6E2158 #586E21 #21586E
tetradic
#6E2158 #6E5D21 #216E37 #21316E
square
#6E2158 #6E5D21 #216E37 #21316E
split-complementary
#6E2158 #316E21 #216E5D
monochromatic
#180713 #3F1332 #6E2158 #9D2F7E #C743A1
Accessibility & contrast
On white
10.39
#6E2158 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#6E2158 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6E2158
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E2158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E2158 | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26385A
Deuteranopia (green-blind)
#3E4456
Tritanopia (blue-blind)
#752239
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #6e2158; /* rgb */ color: rgb(110, 33, 88); /* oklch */ color: oklch(38.8% 0.127 341.1);
Tailwind
colors: {
custom: {
50: '#9a6387',
500: '#6e2158',
950: '#000000',
},
}SCSS
$custom: #6e2158; $custom-light: #9a6387; $custom-dark: #000000;
JSON
{
"hex": "#6e2158",
"rgb": {
"r": 110,
"g": 33,
"b": 88
},
"hsl": {
"h": 317.143,
"s": 53.846,
"l": 28.039
},
"oklch": {
"l": 0.38769,
"c": 0.12654,
"h": 341.1
},
"luminance": 0.05107
}Semantic roles & 50–950 ramp
primary
#6E2158
secondary
#49A262
accent
#DD744B
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E060B
muted
#7E7A7C