#752E71#752E71

#752E71 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.132 H 329.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#752E71
RGBrgb(117, 46, 113)
HSLhsl(303, 44%, 32%)
HSVhsv(303, 61%, 46%)
CMYKcmyk(0%, 60.7%, 3.4%, 54.1%)
CIE-LABlab(31.64, 40.45, -24.18)
CIE-LCHlch(31.64, 47.13, 329.12°)
OKLaboklab(42.77% 0.1142 -0.0664)
OKLCHoklch(42.77% 0.132 329.8)
XYZxyz(11.2937, 6.9289, 16.3622)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E71 #2E7532
analogous
#562E75 #752E71 #752E4E
triadic
#752E71 #71752E #2E7175
tetradic
#752E71 #75562E #2E7532 #2E4E75
square
#752E71 #75562E #2E7532 #2E4E75
split-complementary
#752E71 #4E752E #2E7556
monochromatic
#1D0B1C #491D47 #752E71 #A13F9B #C05EBA

Accessibility & contrast

On white

8.80
#752E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#752E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E71
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E71#FFFFFF#000000##FFFFFF
##752E711.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294473
Deuteranopia (green-blind)
#404E6F
Tritanopia (blue-blind)
#79354B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752e71;
/* rgb */ color: rgb(117, 46, 113);
/* oklch */ color: oklch(42.8% 0.132 329.8);
Tailwind
colors: {
  custom: {
    50: '#9f6b9a',
    500: '#752e71',
    950: '#000000',
  },
}
SCSS
$custom: #752e71;
$custom-light: #9f6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#752e71",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 303.38,
    "s": 43.558,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4277,
    "c": 0.13211,
    "h": 329.8
  },
  "luminance": 0.06928
}

Semantic roles & 50–950 ramp

primary
#752E71
secondary
#59A65D
accent
#D35C54
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752E71

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

Preview Lab → · Contrast checker → · Palette generator →

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