#752F88#752F88

#752F88 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.153 H 318.4°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#752F88
RGBrgb(117, 47, 136)
HSLhsl(287, 49%, 36%)
HSVhsv(287, 65%, 53%)
CMYKcmyk(14%, 65.4%, 0%, 46.7%)
CIE-LABlab(33.12, 44.53, -36.26)
CIE-LCHlch(33.12, 57.43, 320.85°)
OKLaboklab(44.27% 0.1143 -0.1014)
OKLCHoklch(44.27% 0.153 318.4)
XYZxyz(12.7960, 7.5931, 24.0794)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F88 #42882F
analogous
#482F88 #752F88 #882F6E
triadic
#752F88 #88752F #2F8875
tetradic
#752F88 #88482F #42882F #2F6E88
square
#752F88 #88482F #42882F #2F6E88
split-complementary
#752F88 #6E882F #2F8848
monochromatic
#27102D #4E1F5B #752F88 #9C3FB5 #B567CA

Accessibility & contrast

On white

8.34
#752F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#752F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F88
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F88#FFFFFF#000000##FFFFFF
##752F881.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498B
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#753E57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752f88;
/* rgb */ color: rgb(117, 47, 136);
/* oklch */ color: oklch(44.3% 0.153 318.4);
Tailwind
colors: {
  custom: {
    50: '#9f6dab',
    500: '#752f88',
    950: '#000000',
  },
}
SCSS
$custom: #752f88;
$custom-light: #9f6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#752f88",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 136
  },
  "hsl": {
    "h": 287.191,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44265,
    "c": 0.15281,
    "h": 318.4
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#752F88
secondary
#72B161
accent
#D8506D
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752F88

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#752F88 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva