#752C79#752C79

#752C79 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.0% C 0.143 H 325.6°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#752C79
RGBrgb(117, 44, 121)
HSLhsl(297, 47%, 32%)
HSVhsv(297, 64%, 47%)
CMYKcmyk(3.3%, 63.6%, 0%, 52.5%)
CIE-LABlab(31.73, 42.92, -29.11)
CIE-LCHlch(31.73, 51.86, 325.85°)
OKLaboklab(42.97% 0.1177 -0.0806)
OKLCHoklch(42.97% 0.143 325.6)
XYZxyz(11.6877, 6.9644, 18.8141)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C79 #30792C
analogous
#4E2C79 #752C79 #792C57
triadic
#752C79 #79752C #2C7975
tetradic
#752C79 #794E2C #30792C #2C5779
square
#752C79 #794E2C #30792C #2C5779
split-complementary
#752C79 #57792C #2C794E
monochromatic
#1E0B1F #4A1C4C #752C79 #A03CA6 #BE5CC4

Accessibility & contrast

On white

8.78
#752C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752C79
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C79#FFFFFF#000000##FFFFFF
##752C791.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20457B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#78374E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752c79;
/* rgb */ color: rgb(117, 44, 121);
/* oklch */ color: oklch(43.0% 0.143 325.6);
Tailwind
colors: {
  custom: {
    50: '#9f6aa0',
    500: '#752c79',
    950: '#000000',
  },
}
SCSS
$custom: #752c79;
$custom-light: #9f6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#752c79",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 296.883,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4297,
    "c": 0.14265,
    "h": 325.6
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#752C79
secondary
#5BAA57
accent
#D65158
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752C79

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

Preview Lab → · Contrast checker → · Palette generator →

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