#752A71#752A71

#752A71 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.138 H 329.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#752A71
RGBrgb(117, 42, 113)
HSLhsl(303, 47%, 31%)
HSVhsv(303, 64%, 46%)
CMYKcmyk(0%, 64.1%, 3.4%, 54.1%)
CIE-LABlab(30.95, 42.35, -25.27)
CIE-LCHlch(30.95, 49.32, 329.17°)
OKLaboklab(42.27% 0.1197 -0.0695)
OKLCHoklch(42.27% 0.138 329.9)
XYZxyz(11.1446, 6.6309, 16.3125)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A71 #2A752E
analogous
#532A75 #752A71 #752A4B
triadic
#752A71 #71752A #2A7175
tetradic
#752A71 #75532A #2A752E #2A4B75
square
#752A71 #75532A #2A752E #2A4B75
split-complementary
#752A71 #4B752A #2A7553
monochromatic
#1B0A1A #481A46 #752A71 #A23A9C #C357BD

Accessibility & contrast

On white

9.03
#752A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#752A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A71
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A71#FFFFFF#000000##FFFFFF
##752A711.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244273
Deuteranopia (green-blind)
#3E4C6F
Tritanopia (blue-blind)
#793249
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752a71;
/* rgb */ color: rgb(117, 42, 113);
/* oklch */ color: oklch(42.3% 0.138 329.9);
Tailwind
colors: {
  custom: {
    50: '#9f699a',
    500: '#752a71',
    950: '#000000',
  },
}
SCSS
$custom: #752a71;
$custom-light: #9f699a;
$custom-dark: #000000;
JSON
{
  "hex": "#752a71",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 303.2,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42265,
    "c": 0.13836,
    "h": 329.9
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

primary
#752A71
secondary
#54A758
accent
#D75851
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752A71

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

Preview Lab → · Contrast checker → · Palette generator →

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