More
More
#752F76 colour
#752F76 is a dark muted purple close to CSS purple. RGB 117, 47, 118, HSL 299, 43%, 32%. White text passes AAA (8.66:1), black fails (2.42:1).
- Nearest CSS name
purple#800080 (not an exact match)- Described as
- a dark muted purple
- Red, green, blue
- 117, 47, 118
- Web safe
- No
- Luminance
- 0.0712 (WCAG relative luminance, 0 is black, 1 is white)
Colour codes
| HEX | #752f76 | |
|---|---|---|
| RGB | rgb(117, 47, 118) | |
| RGB (percent) | rgb(45.9% 18.4% 46.3%) | |
| HSL | hsl(299.2, 43%, 32.4%) | |
| HSV / HSB | hsv(299.2, 60.2%, 46.3%) | |
| HWB | hwb(299.2 18.4% 53.7%) | |
| CMYK (naive) | cmyk(1%, 60%, 0%, 54%) | |
| CIELAB (D50) | lab(32.02% 38.73 -26.49) | |
| OKLCH | oklch(43.18% 0.1352 327.05) | |
| Decimal | 7679862 |
CMYK here is the plain formula with no colour profile, so treat it as a starting point; a printer's profile gives the real ink values. CIELAB uses a D50 white point, as CSS lab() does. HSV is not a CSS function, so it is shown for design apps only.
Contrast with white and black text
| Text | Ratio | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White | 8.66:1 | Pass | Pass | Pass | Pass |
| Black | 2.42:1 | Fail | Fail | Fail | Fail |
White text is the better choice on #752F76 (8.66:1). Ratios use the WCAG 2.2 formula; large text means at least 24px, or 18.66px bold. Check another pair.
Tints and shades
Mixed with white, then with black, in ten even steps (straight sRGB mixing, as most design tools do).
Colour harmonies
Hue turned around the HSL colour wheel, saturation and lightness kept.
How it looks with colour blindness
Simulated with the Machado, Oliveira and Fernandes (2009) matrices at full severity, applied in linear RGB; achromatopsia shows the colour's luminance as grey. Milder forms (protanomaly, deuteranomaly) are far more common and shift colours less. Never use colour as the only way to carry meaning.
CSS
| Text colour | color: #752f76; | |
|---|---|---|
| Background | background-color: #752f76; | |
| Border | border: 1px solid #752f76; | |
| Half transparent | background-color: rgb(117 47 118 / 50%); | |
| Custom property | --colour-main: #752f76; | |
| Gradient to a darker shade | background: linear-gradient(135deg, #752f76, #461c47); | |
| Gradient from a lighter tint | background: linear-gradient(180deg, #ac82ad, #752f76); | |
| Text on this colour | background-color: #752f76; color: #fff; |
Similar named colours
purple#800080, distance 5.9rebeccapurple#663399, distance 6.6darkmagenta#8b008b, distance 7.2darkslateblue#483d8b, distance 9.3indigo#4b0082, distance 12.3darkorchid#9932cc, distance 15.1#30762fComplement of #752F76
Distance is measured in OKLab, scaled by 100; under about 2 is hard to tell apart side by side.
Convert #752F76 to other formats · Build a palette from it · Check contrast · All named colours
Colour names from CSS Color Module Level 4. Palette values from the Tailwind CSS v3 default palette (MIT licence) and the Material Design 2014 colour palette as published in Material Design Lite (Apache License 2.0). All other values are calculated from the hex code.