#752F7C#752F7C
#752F7C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.5% C 0.141 H 324.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #752F7C |
|---|---|
| RGB | rgb(117, 47, 124) |
| HSL | hsl(295, 45%, 34%) |
| HSV | hsv(295, 62%, 49%) |
| CMYK | cmyk(5.6%, 62.1%, 0%, 51.4%) |
| CIE-LAB | lab(32.42, 42.08, -29.90) |
| CIE-LCH | lch(32.42, 51.62, 324.60°) |
| OKLab | oklab(43.53% 0.1139 -0.0829) |
| OKLCH | oklch(43.53% 0.141 324) |
| XYZ | xyz(11.9904, 7.2708, 19.8367) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.92
Purple
#800080
ΔE00 5.47
Darkmagenta
#8B008B
ΔE00 6.02
Warm Purple
#952E8F
ΔE00 6.37
Purple (survey)
#7E1E9C
ΔE00 6.58
Grape
#6C3461
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#752F7C #367C2F
analogous
#4E2F7C #752F7C #7C2F5C
triadic
#752F7C #7C752F #2F7C75
tetradic
#752F7C #7C4E2F #367C2F #2F5C7C
square
#752F7C #7C4E2F #367C2F #2F5C7C
split-complementary
#752F7C #5C7C2F #2F7C4E
monochromatic
#210D23 #4B1E50 #752F7C #9F40A8 #BB62C3
Accessibility & contrast
On white
8.56
#752F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#752F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #752F7C
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##752F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##752F7C | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#3B4F7A
Tritanopia (blue-blind)
#773A51
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #752f7c; /* rgb */ color: rgb(117, 47, 124); /* oklch */ color: oklch(43.5% 0.141 324.0);
Tailwind
colors: {
custom: {
50: '#9f6ca2',
500: '#752f7c',
950: '#000000',
},
}SCSS
$custom: #752f7c; $custom-light: #9f6ca2; $custom-dark: #000000;
JSON
{
"hex": "#752f7c",
"rgb": {
"r": 117,
"g": 47,
"b": 124
},
"hsl": {
"h": 294.545,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.43526,
"c": 0.14091,
"h": 324
},
"luminance": 0.0727
}Semantic roles & 50–950 ramp
primary
#752F7C
secondary
#64AA5C
accent
#D5535F
background
#FAF6FA
surface
#F3ECF3
border
#CDC7CD
text
#0F070F
muted
#7F7A7F