#752772#752772

#752772 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.144 H 329.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#752772
RGBrgb(117, 39, 114)
HSLhsl(302, 50%, 31%)
HSVhsv(302, 67%, 46%)
CMYKcmyk(0%, 66.7%, 2.6%, 54.1%)
CIE-LABlab(30.52, 43.88, -26.59)
CIE-LCHlch(30.52, 51.31, 328.79°)
OKLaboklab(41.97% 0.1236 -0.0733)
OKLCHoklch(41.97% 0.144 329.3)
XYZxyz(11.0988, 6.4486, 16.5765)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752772 #27752A
analogous
#512775 #752772 #75274B
triadic
#752772 #727527 #277275
tetradic
#752772 #755127 #27752A #274B75
square
#752772 #755127 #27752A #274B75
split-complementary
#752772 #4B7527 #277551
monochromatic
#190819 #471845 #752772 #A3369F #C551C1

Accessibility & contrast

On white

9.17
#752772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#752772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752772
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752772#FFFFFF#000000##FFFFFF
##7527721.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#3B4C70
Tritanopia (blue-blind)
#793049
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752772;
/* rgb */ color: rgb(117, 39, 114);
/* oklch */ color: oklch(42.0% 0.144 329.3);
Tailwind
colors: {
  custom: {
    50: '#9f689b',
    500: '#752772',
    950: '#000000',
  },
}
SCSS
$custom: #752772;
$custom-light: #9f689b;
$custom-dark: #000000;
JSON
{
  "hex": "#752772",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 302.308,
    "s": 50,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.14369,
    "h": 329.3
  },
  "luminance": 0.06448
}

Semantic roles & 50–950 ramp

primary
#752772
secondary
#51A754
accent
#DA544E
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752772

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

Preview Lab → · Contrast checker → · Palette generator →

#752772 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva