#76186F#76186F
#76186F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.160 H 331.5°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #76186F |
|---|---|
| RGB | rgb(118, 24, 111) |
| HSL | hsl(304, 66%, 28%) |
| HSV | hsv(304, 80%, 46%) |
| CMYK | cmyk(0%, 79.7%, 5.9%, 53.7%) |
| CIE-LAB | lab(28.52, 49.28, -27.82) |
| CIE-LCH | lch(28.52, 56.59, 330.56°) |
| OKLab | oklab(40.51% 0.1409 -0.0766) |
| OKLCH | oklch(40.51% 0.16 331.5) |
| XYZ | xyz(10.6671, 5.6534, 15.5652) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.00
Purple
#800080
ΔE00 3.66
Rich Purple
#720058
ΔE00 4.98
Darkmagenta
#8B008B
ΔE00 5.50
Grape Purple
#5D1451
ΔE00 6.53
Velvet
#750851
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#76186F #18761F
analogous
#4E1876 #76186F #761840
triadic
#76186F #6F7618 #186F76
tetradic
#76186F #764E18 #18761F #184076
square
#76186F #764E18 #18761F #184076
split-complementary
#76186F #407618 #18764E
monochromatic
#190518 #430E3F #76186F #A9229F #D533C9
Accessibility & contrast
On white
9.86
#76186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#76186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #76186F
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##76186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##76186F | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F3B71
Deuteranopia (green-blind)
#37486D
Tritanopia (blue-blind)
#7B2443
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #76186f; /* rgb */ color: rgb(118, 24, 111); /* oklch */ color: oklch(40.5% 0.160 331.5);
Tailwind
colors: {
custom: {
50: '#a16199',
500: '#76186f',
950: '#000000',
},
}SCSS
$custom: #76186f; $custom-light: #a16199; $custom-dark: #000000;
JSON
{
"hex": "#76186f",
"rgb": {
"r": 118,
"g": 24,
"b": 111
},
"hsl": {
"h": 304.468,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.40508,
"c": 0.1604,
"h": 331.5
},
"luminance": 0.05653
}Semantic roles & 50–950 ramp
primary
#76186F
secondary
#3FAB47
accent
#E94B3F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E