#752A72#752A72

#752A72 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.3% C 0.139 H 329.3°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#752A72
RGBrgb(117, 42, 114)
HSLhsl(302, 47%, 31%)
HSVhsv(302, 64%, 46%)
CMYKcmyk(0%, 64.1%, 2.6%, 54.1%)
CIE-LABlab(31.00, 42.53, -25.82)
CIE-LCHlch(31.00, 49.76, 328.74°)
OKLaboklab(42.32% 0.1198 -0.0711)
OKLCHoklch(42.32% 0.139 329.3)
XYZxyz(11.2012, 6.6535, 16.6106)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A72 #2A752D
analogous
#522A75 #752A72 #752A4C
triadic
#752A72 #72752A #2A7275
tetradic
#752A72 #75522A #2A752D #2A4C75
square
#752A72 #75522A #2A752D #2A4C75
split-complementary
#752A72 #4C752A #2A7552
monochromatic
#1B0A1A #481A46 #752A72 #A23A9E #C357BE

Accessibility & contrast

On white

9.01
#752A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#752A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A72
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A72#FFFFFF#000000##FFFFFF
##752A721.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#3D4D70
Tritanopia (blue-blind)
#79324A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752a72;
/* rgb */ color: rgb(117, 42, 114);
/* oklch */ color: oklch(42.3% 0.139 329.3);
Tailwind
colors: {
  custom: {
    50: '#9f699b',
    500: '#752a72',
    950: '#000000',
  },
}
SCSS
$custom: #752a72;
$custom-light: #9f699b;
$custom-dark: #000000;
JSON
{
  "hex": "#752a72",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 302.4,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42321,
    "c": 0.13926,
    "h": 329.3
  },
  "luminance": 0.06653
}

Semantic roles & 50–950 ramp

primary
#752A72
secondary
#54A757
accent
#D75651
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752A72

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

Preview Lab → · Contrast checker → · Palette generator →

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