#752F7B#752F7B

#752F7B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.140 H 324.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#752F7B
RGBrgb(117, 47, 123)
HSLhsl(295, 45%, 33%)
HSVhsv(295, 62%, 48%)
CMYKcmyk(4.9%, 61.8%, 0%, 51.8%)
CIE-LABlab(32.36, 41.88, -29.37)
CIE-LCHlch(32.36, 51.15, 324.96°)
OKLaboklab(43.47% 0.1139 -0.0813)
OKLCHoklch(43.47% 0.14 324.5)
XYZxyz(11.9275, 7.2457, 19.5054)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F7B #357B2F
analogous
#4F2F7B #752F7B #7B2F5B
triadic
#752F7B #7B752F #2F7B75
tetradic
#752F7B #7B4F2F #357B2F #2F5B7B
square
#752F7B #7B4F2F #357B2F #2F5B7B
split-complementary
#752F7B #5B7B2F #2F7B4F
monochromatic
#210D22 #4B1E4F #752F7B #9F40A7 #BB62C3

Accessibility & contrast

On white

8.57
#752F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752F7B
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F7B#FFFFFF#000000##FFFFFF
##752F7B1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477D
Deuteranopia (green-blind)
#3C4F79
Tritanopia (blue-blind)
#773A50
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752f7b;
/* rgb */ color: rgb(117, 47, 123);
/* oklch */ color: oklch(43.5% 0.140 324.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ca1',
    500: '#752f7b',
    950: '#000000',
  },
}
SCSS
$custom: #752f7b;
$custom-light: #9f6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#752f7b",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 295.263,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43467,
    "c": 0.13994,
    "h": 324.5
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#752F7B
secondary
#62AA5C
accent
#D4535E
background
#FAF6F9
surface
#F3ECF2
border
#CDC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #752F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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