#752F71#752F71

#752F71 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 42.9% C 0.130 H 329.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#752F71
RGBrgb(117, 47, 113)
HSLhsl(303, 43%, 32%)
HSVhsv(303, 60%, 46%)
CMYKcmyk(0%, 59.8%, 3.4%, 54.1%)
CIE-LABlab(31.82, 39.96, -23.90)
CIE-LCHlch(31.82, 46.56, 329.11°)
OKLaboklab(42.9% 0.1128 -0.0656)
OKLCHoklch(42.9% 0.13 329.8)
XYZxyz(11.3332, 7.0079, 16.3753)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F71 #2F7533
analogous
#562F75 #752F71 #752F4E
triadic
#752F71 #71752F #2F7175
tetradic
#752F71 #75562F #2F7533 #2F4E75
square
#752F71 #75562F #2F7533 #2F4E75
split-complementary
#752F71 #4E752F #2F7556
monochromatic
#1E0C1D #491D47 #752F71 #A1419B #BF5FB9

Accessibility & contrast

On white

8.74
#752F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#752F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F71
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F71#FFFFFF#000000##FFFFFF
##752F711.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#414E6F
Tritanopia (blue-blind)
#79364B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752f71;
/* rgb */ color: rgb(117, 47, 113);
/* oklch */ color: oklch(42.9% 0.130 329.8);
Tailwind
colors: {
  custom: {
    50: '#9f6c9a',
    500: '#752f71',
    950: '#000000',
  },
}
SCSS
$custom: #752f71;
$custom-light: #9f6c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#752f71",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 303.429,
    "s": 42.683,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.13049,
    "h": 329.8
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#752F71
secondary
#5AA65E
accent
#D25C55
background
#FAF6F9
surface
#F3ECF2
border
#CDC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752F71

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

Preview Lab → · Contrast checker → · Palette generator →

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