#752F78#752F78
#752F78 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.3% C 0.137 H 326.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #752F78 |
|---|---|
| RGB | rgb(117, 47, 120) |
| HSL | hsl(298, 44%, 33%) |
| HSV | hsv(298, 61%, 47%) |
| CMYK | cmyk(2.5%, 60.8%, 0%, 52.9%) |
| CIE-LAB | lab(32.19, 41.29, -27.74) |
| CIE-LCH | lch(32.19, 49.74, 326.10°) |
| OKLab | oklab(43.29% 0.1136 -0.0766) |
| OKLCH | oklch(43.29% 0.137 326) |
| XYZ | xyz(11.7426, 7.1717, 18.5314) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.80
Purple
#800080
ΔE00 5.73
Grape
#6C3461
ΔE00 6.01
Bruise
#7E4071
ΔE00 6.33
Darkmagenta
#8B008B
ΔE00 6.40
Warm Purple
#952E8F
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752F78 #32782F
analogous
#502F78 #752F78 #782F57
triadic
#752F78 #78752F #2F7875
tetradic
#752F78 #78502F #32782F #2F5778
square
#752F78 #78502F #32782F #2F5778
split-complementary
#752F78 #57782F #2F7850
monochromatic
#1F0D20 #4A1E4C #752F78 #A040A4 #BD60C1
Accessibility & contrast
On white
8.63
#752F78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#752F78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752F78
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752F78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752F78 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#3D4F76
Tritanopia (blue-blind)
#78394F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #752f78; /* rgb */ color: rgb(117, 47, 120); /* oklch */ color: oklch(43.3% 0.137 326.0);
Tailwind
colors: {
custom: {
50: '#9f6c9f',
500: '#752f78',
950: '#000000',
},
}SCSS
$custom: #752f78; $custom-light: #9f6c9f; $custom-dark: #000000;
JSON
{
"hex": "#752f78",
"rgb": {
"r": 117,
"g": 47,
"b": 120
},
"hsl": {
"h": 297.534,
"s": 43.713,
"l": 32.745
},
"oklch": {
"l": 0.43293,
"c": 0.13705,
"h": 326
},
"luminance": 0.07171
}Semantic roles & 50–950 ramp
primary
#752F78
secondary
#5EA85B
accent
#D3545A
background
#FAF6F9
surface
#F3ECF2
border
#CDC7CC
text
#0F070E
muted
#7F7A7E