#752C7B#752C7B

#752C7B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.145 H 324.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#752C7B
RGBrgb(117, 44, 123)
HSLhsl(295, 47%, 33%)
HSVhsv(295, 64%, 48%)
CMYKcmyk(4.9%, 64.2%, 0%, 51.8%)
CIE-LABlab(31.84, 43.31, -30.19)
CIE-LCHlch(31.84, 52.80, 325.12°)
OKLaboklab(43.09% 0.1178 -0.0837)
OKLCHoklch(43.09% 0.145 324.6)
XYZxyz(11.8117, 7.0140, 19.4667)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C7B #327B2C
analogous
#4D2C7B #752C7B #7B2C59
triadic
#752C7B #7B752C #2C7B75
tetradic
#752C7B #7B4D2C #327B2C #2C597B
square
#752C7B #7B4D2C #327B2C #2C597B
split-complementary
#752C7B #597B2C #2C7B4D
monochromatic
#1F0C21 #4A1C4E #752C7B #A03CA8 #BD5DC5

Accessibility & contrast

On white

8.74
#752C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752C7B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C7B#FFFFFF#000000##FFFFFF
##752C7B1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#77374F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752c7b;
/* rgb */ color: rgb(117, 44, 123);
/* oklch */ color: oklch(43.1% 0.145 324.6);
Tailwind
colors: {
  custom: {
    50: '#9f6ba1',
    500: '#752c7b',
    950: '#000000',
  },
}
SCSS
$custom: #752c7b;
$custom-light: #9f6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#752c7b",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 295.443,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.14454,
    "h": 324.6
  },
  "luminance": 0.07013
}

Semantic roles & 50–950 ramp

primary
#752C7B
secondary
#5EAB58
accent
#D7515B
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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