#752C7A#752C7A

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

Color values

HEX#752C7A
RGBrgb(117, 44, 122)
HSLhsl(296, 47%, 33%)
HSVhsv(296, 64%, 48%)
CMYKcmyk(4.1%, 63.9%, 0%, 52.2%)
CIE-LABlab(31.78, 43.12, -29.65)
CIE-LCHlch(31.78, 52.33, 325.48°)
OKLaboklab(43.03% 0.1178 -0.0822)
OKLCHoklch(43.03% 0.144 325.1)
XYZxyz(11.7494, 6.9891, 19.1387)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C7A #317A2C
analogous
#4E2C7A #752C7A #7A2C58
triadic
#752C7A #7A752C #2C7A75
tetradic
#752C7A #7A4E2C #317A2C #2C587A
square
#752C7A #7A4E2C #317A2C #2C587A
split-complementary
#752C7A #587A2C #2C7A4E
monochromatic
#1F0C20 #4A1C4D #752C7A #A03CA7 #BE5CC4

Accessibility & contrast

On white

8.76
#752C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#752C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C7A
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C7A#FFFFFF#000000##FFFFFF
##752C7A1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F457C
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#78374F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752c7a;
/* rgb */ color: rgb(117, 44, 122);
/* oklch */ color: oklch(43.0% 0.144 325.1);
Tailwind
colors: {
  custom: {
    50: '#9f6aa1',
    500: '#752c7a',
    950: '#000000',
  },
}
SCSS
$custom: #752c7a;
$custom-light: #9f6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#752c7a",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 296.154,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43029,
    "c": 0.1436,
    "h": 325.1
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#752C7A
secondary
#5DAA57
accent
#D7515A
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #752C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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