#752B71#752B71

#752B71 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.4% C 0.137 H 329.8°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#752B71
RGBrgb(117, 43, 113)
HSLhsl(303, 46%, 31%)
HSVhsv(303, 63%, 46%)
CMYKcmyk(0%, 63.2%, 3.4%, 54.1%)
CIE-LABlab(31.12, 41.88, -25.01)
CIE-LCHlch(31.12, 48.78, 329.16°)
OKLaboklab(42.39% 0.1183 -0.0687)
OKLCHoklch(42.39% 0.137 329.8)
XYZxyz(11.1805, 6.7027, 16.3244)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B71 #2B752F
analogous
#542B75 #752B71 #752B4C
triadic
#752B71 #71752B #2B7175
tetradic
#752B71 #75542B #2B752F #2B4C75
square
#752B71 #75542B #2B752F #2B4C75
split-complementary
#752B71 #4C752B #2B7554
monochromatic
#1B0A1B #481B46 #752B71 #A23B9C #C259BC

Accessibility & contrast

On white

8.97
#752B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#752B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B71
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B71#FFFFFF#000000##FFFFFF
##752B711.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#3E4D6F
Tritanopia (blue-blind)
#79334A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752b71;
/* rgb */ color: rgb(117, 43, 113);
/* oklch */ color: oklch(42.4% 0.137 329.8);
Tailwind
colors: {
  custom: {
    50: '#9f6a9a',
    500: '#752b71',
    950: '#000000',
  },
}
SCSS
$custom: #752b71;
$custom-light: #9f6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#752b71",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 303.243,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42388,
    "c": 0.13683,
    "h": 329.8
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#752B71
secondary
#55A75A
accent
#D65952
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752B71

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

Preview Lab → · Contrast checker → · Palette generator →

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