#752D82#752D82

#752D82 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.150 H 321.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#752D82
RGBrgb(117, 45, 130)
HSLhsl(291, 49%, 34%)
HSVhsv(291, 65%, 51%)
CMYKcmyk(10%, 65.4%, 0%, 49%)
CIE-LABlab(32.42, 44.24, -33.65)
CIE-LCHlch(32.42, 55.58, 322.74°)
OKLaboklab(43.64% 0.1168 -0.0938)
OKLCHoklch(43.64% 0.15 321.2)
XYZxyz(12.3033, 7.2710, 21.8701)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D82 #3A822D
analogous
#4B2D82 #752D82 #822D65
triadic
#752D82 #82752D #2D8275
tetradic
#752D82 #824B2D #3A822D #2D6582
square
#752D82 #824B2D #3A822D #2D6582
split-complementary
#752D82 #65822D #2D824B
monochromatic
#230E27 #4C1D55 #752D82 #9E3DAF #B961C8

Accessibility & contrast

On white

8.56
#752D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#752D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D82
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D82#FFFFFF#000000##FFFFFF
##752D821.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184785
Deuteranopia (green-blind)
#364F80
Tritanopia (blue-blind)
#763B53
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752d82;
/* rgb */ color: rgb(117, 45, 130);
/* oklch */ color: oklch(43.6% 0.150 321.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ba7',
    500: '#752d82',
    950: '#000000',
  },
}
SCSS
$custom: #752d82;
$custom-light: #9f6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#752d82",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 290.824,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43638,
    "c": 0.14979,
    "h": 321.2
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#752D82
secondary
#69AF5C
accent
#D85065
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752D82

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

Preview Lab → · Contrast checker → · Palette generator →

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