#752871#752871

#752871 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.141 H 329.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#752871
RGBrgb(117, 40, 113)
HSLhsl(303, 49%, 31%)
HSVhsv(303, 66%, 46%)
CMYKcmyk(0%, 65.8%, 3.4%, 54.1%)
CIE-LABlab(30.62, 43.26, -25.79)
CIE-LCHlch(30.62, 50.36, 329.20°)
OKLaboklab(42.03% 0.1223 -0.0709)
OKLCHoklch(42.03% 0.141 329.9)
XYZxyz(11.0755, 6.4925, 16.2894)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752871 #28752C
analogous
#522875 #752871 #75284A
triadic
#752871 #717528 #287175
tetradic
#752871 #755228 #28752C #284A75
square
#752871 #755228 #28752C #284A75
split-complementary
#752871 #4A7528 #287552
monochromatic
#1A0919 #471845 #752871 #A3389D #C453BE

Accessibility & contrast

On white

9.14
#752871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#752871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752871
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752871#FFFFFF#000000##FFFFFF
##7528711.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#793148
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752871;
/* rgb */ color: rgb(117, 40, 113);
/* oklch */ color: oklch(42.0% 0.141 329.9);
Tailwind
colors: {
  custom: {
    50: '#9f689a',
    500: '#752871',
    950: '#000000',
  },
}
SCSS
$custom: #752871;
$custom-light: #9f689a;
$custom-dark: #000000;
JSON
{
  "hex": "#752871",
  "rgb": {
    "r": 117,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 303.117,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42026,
    "c": 0.14136,
    "h": 329.9
  },
  "luminance": 0.06492
}

Semantic roles & 50–950 ramp

primary
#752871
secondary
#52A756
accent
#D9564F
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752871

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

Preview Lab → · Contrast checker → · Palette generator →

#752871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva