#752A99#752A99

#752A99 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.177 H 312.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#752A99
RGBrgb(117, 42, 153)
HSLhsl(281, 57%, 38%)
HSVhsv(281, 73%, 60%)
CMYKcmyk(23.5%, 72.5%, 0%, 40%)
CIE-LABlab(33.43, 50.44, -46.19)
CIE-LCHlch(33.43, 68.40, 317.52°)
OKLaboklab(44.85% 0.1189 -0.1305)
OKLCHoklch(44.85% 0.177 312.4)
XYZxyz(13.9128, 7.7381, 30.8915)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A99 #4E992A
analogous
#3E2A99 #752A99 #992A85
triadic
#752A99 #99752A #2A9975
tetradic
#752A99 #993E2A #4E992A #2A8599
square
#752A99 #993E2A #4E992A #2A8599
split-complementary
#752A99 #85992A #2A993E
monochromatic
#2C1039 #501D69 #752A99 #9938C8 #B268D6

Accessibility & contrast

On white

8.24
#752A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#752A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A99
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A99#FFFFFF#000000##FFFFFF
##752A991.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#1E5097
Tritanopia (blue-blind)
#71425F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752a99;
/* rgb */ color: rgb(117, 42, 153);
/* oklch */ color: oklch(44.8% 0.177 312.4);
Tailwind
colors: {
  custom: {
    50: '#a16bb8',
    500: '#752a99',
    950: '#000000',
  },
}
SCSS
$custom: #752a99;
$custom-light: #a16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#752a99",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 280.541,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44846,
    "c": 0.17656,
    "h": 312.4
  },
  "luminance": 0.07738
}

Semantic roles & 50–950 ramp

primary
#752A99
secondary
#80BC63
accent
#E04879
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752A99

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

Preview Lab → · Contrast checker → · Palette generator →

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