#752C82#752C82

#752C82 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.151 H 321.3°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#752C82
RGBrgb(117, 44, 130)
HSLhsl(291, 49%, 34%)
HSVhsv(291, 66%, 51%)
CMYKcmyk(10%, 66.2%, 0%, 49%)
CIE-LABlab(32.25, 44.70, -33.92)
CIE-LCHlch(32.25, 56.12, 322.81°)
OKLaboklab(43.52% 0.1181 -0.0946)
OKLCHoklch(43.52% 0.151 321.3)
XYZxyz(12.2656, 7.1956, 21.8576)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C82 #39822C
analogous
#4A2C82 #752C82 #822C64
triadic
#752C82 #82752C #2C8275
tetradic
#752C82 #824A2C #39822C #2C6482
square
#752C82 #824A2C #39822C #2C6482
split-complementary
#752C82 #64822C #2C824A
monochromatic
#230D27 #4C1D54 #752C82 #9E3BB0 #B95FC9

Accessibility & contrast

On white

8.61
#752C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#752C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C82
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C82#FFFFFF#000000##FFFFFF
##752C821.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164785
Deuteranopia (green-blind)
#354F80
Tritanopia (blue-blind)
#763A53
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752c82;
/* rgb */ color: rgb(117, 44, 130);
/* oklch */ color: oklch(43.5% 0.151 321.3);
Tailwind
colors: {
  custom: {
    50: '#9f6ba7',
    500: '#752c82',
    950: '#000000',
  },
}
SCSS
$custom: #752c82;
$custom-light: #9f6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#752c82",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 290.93,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43517,
    "c": 0.15126,
    "h": 321.3
  },
  "luminance": 0.07195
}

Semantic roles & 50–950 ramp

primary
#752C82
secondary
#67AF5B
accent
#D94F64
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752C82

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

Preview Lab → · Contrast checker → · Palette generator →

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