#752C7C#752C7C

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

Color values

HEX#752C7C
RGBrgb(117, 44, 124)
HSLhsl(295, 48%, 33%)
HSVhsv(295, 65%, 49%)
CMYKcmyk(5.6%, 64.5%, 0%, 51.4%)
CIE-LABlab(31.90, 43.51, -30.73)
CIE-LCHlch(31.90, 53.26, 324.77°)
OKLaboklab(43.15% 0.1179 -0.0853)
OKLCHoklch(43.15% 0.145 324.1)
XYZxyz(11.8746, 7.0392, 19.7981)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C7C #337C2C
analogous
#4D2C7C #752C7C #7C2C5B
triadic
#752C7C #7C752C #2C7C75
tetradic
#752C7C #7C4D2C #337C2C #2C5B7C
square
#752C7C #7C4D2C #337C2C #2C5B7C
split-complementary
#752C7C #5B7C2C #2C7C4D
monochromatic
#200C22 #4A1C4F #752C7C #A03CA9 #BC5DC5

Accessibility & contrast

On white

8.72
#752C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#752C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C7C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C7C#FFFFFF#000000##FFFFFF
##752C7C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457E
Deuteranopia (green-blind)
#394E7A
Tritanopia (blue-blind)
#773850
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752c7c;
/* rgb */ color: rgb(117, 44, 124);
/* oklch */ color: oklch(43.1% 0.145 324.1);
Tailwind
colors: {
  custom: {
    50: '#9f6ba2',
    500: '#752c7c',
    950: '#000000',
  },
}
SCSS
$custom: #752c7c;
$custom-light: #9f6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#752c7c",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 294.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43148,
    "c": 0.14549,
    "h": 324.1
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#752C7C
secondary
#5FAC58
accent
#D7515C
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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