#752F7C#752F7C

#752F7C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.5% C 0.141 H 324.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#752F7C
RGBrgb(117, 47, 124)
HSLhsl(295, 45%, 34%)
HSVhsv(295, 62%, 49%)
CMYKcmyk(5.6%, 62.1%, 0%, 51.4%)
CIE-LABlab(32.42, 42.08, -29.90)
CIE-LCHlch(32.42, 51.62, 324.60°)
OKLaboklab(43.53% 0.1139 -0.0829)
OKLCHoklch(43.53% 0.141 324)
XYZxyz(11.9904, 7.2708, 19.8367)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F7C #367C2F
analogous
#4E2F7C #752F7C #7C2F5C
triadic
#752F7C #7C752F #2F7C75
tetradic
#752F7C #7C4E2F #367C2F #2F5C7C
square
#752F7C #7C4E2F #367C2F #2F5C7C
split-complementary
#752F7C #5C7C2F #2F7C4E
monochromatic
#210D23 #4B1E50 #752F7C #9F40A8 #BB62C3

Accessibility & contrast

On white

8.56
#752F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#752F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F7C
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F7C#FFFFFF#000000##FFFFFF
##752F7C1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#3B4F7A
Tritanopia (blue-blind)
#773A51
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752f7c;
/* rgb */ color: rgb(117, 47, 124);
/* oklch */ color: oklch(43.5% 0.141 324.0);
Tailwind
colors: {
  custom: {
    50: '#9f6ca2',
    500: '#752f7c',
    950: '#000000',
  },
}
SCSS
$custom: #752f7c;
$custom-light: #9f6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#752f7c",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 294.545,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43526,
    "c": 0.14091,
    "h": 324
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#752F7C
secondary
#64AA5C
accent
#D5535F
background
#FAF6FA
surface
#F3ECF3
border
#CDC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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