#752772#752772
#752772 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.144 H 329.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #752772 |
|---|---|
| RGB | rgb(117, 39, 114) |
| HSL | hsl(302, 50%, 31%) |
| HSV | hsv(302, 67%, 46%) |
| CMYK | cmyk(0%, 66.7%, 2.6%, 54.1%) |
| CIE-LAB | lab(30.52, 43.88, -26.59) |
| CIE-LCH | lch(30.52, 51.31, 328.79°) |
| OKLab | oklab(41.97% 0.1236 -0.0733) |
| OKLCH | oklch(41.97% 0.144 329.3) |
| XYZ | xyz(11.0988, 6.4486, 16.5765) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.37
Purple
#800080
ΔE00 4.89
Grape
#6C3461
ΔE00 5.84
Darkmagenta
#8B008B
ΔE00 6.08
Rich Purple
#720058
ΔE00 6.50
Bruise
#7E4071
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752772 #27752A
analogous
#512775 #752772 #75274B
triadic
#752772 #727527 #277275
tetradic
#752772 #755127 #27752A #274B75
square
#752772 #755127 #27752A #274B75
split-complementary
#752772 #4B7527 #277551
monochromatic
#190819 #471845 #752772 #A3369F #C551C1
Accessibility & contrast
On white
9.17
#752772 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#752772 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752772
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752772 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752772 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#3B4C70
Tritanopia (blue-blind)
#793049
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #752772; /* rgb */ color: rgb(117, 39, 114); /* oklch */ color: oklch(42.0% 0.144 329.3);
Tailwind
colors: {
custom: {
50: '#9f689b',
500: '#752772',
950: '#000000',
},
}SCSS
$custom: #752772; $custom-light: #9f689b; $custom-dark: #000000;
JSON
{
"hex": "#752772",
"rgb": {
"r": 117,
"g": 39,
"b": 114
},
"hsl": {
"h": 302.308,
"s": 50,
"l": 30.588
},
"oklch": {
"l": 0.41967,
"c": 0.14369,
"h": 329.3
},
"luminance": 0.06448
}Semantic roles & 50–950 ramp
primary
#752772
secondary
#51A754
accent
#DA544E
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E