#752F7A#752F7A

#752F7A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.139 H 325.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#752F7A
RGBrgb(117, 47, 122)
HSLhsl(296, 44%, 33%)
HSVhsv(296, 61%, 48%)
CMYKcmyk(4.1%, 61.5%, 0%, 52.2%)
CIE-LABlab(32.30, 41.68, -28.83)
CIE-LCHlch(32.30, 50.68, 325.33°)
OKLaboklab(43.41% 0.1138 -0.0798)
OKLCHoklch(43.41% 0.139 325)
XYZxyz(11.8652, 7.2208, 19.1774)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F7A #347A2F
analogous
#4F2F7A #752F7A #7A2F59
triadic
#752F7A #7A752F #2F7A75
tetradic
#752F7A #7A4F2F #347A2F #2F597A
square
#752F7A #7A4F2F #347A2F #2F597A
split-complementary
#752F7A #597A2F #2F7A4F
monochromatic
#200D22 #4B1E4E #752F7A #9F40A6 #BC61C2

Accessibility & contrast

On white

8.59
#752F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#752F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F7A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F7A#FFFFFF#000000##FFFFFF
##752F7A1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#3C4F78
Tritanopia (blue-blind)
#783950
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752f7a;
/* rgb */ color: rgb(117, 47, 122);
/* oklch */ color: oklch(43.4% 0.139 325.0);
Tailwind
colors: {
  custom: {
    50: '#9f6ca1',
    500: '#752f7a',
    950: '#000000',
  },
}
SCSS
$custom: #752f7a;
$custom-light: #9f6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#752f7a",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 296,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43408,
    "c": 0.13898,
    "h": 325
  },
  "luminance": 0.0722
}

Semantic roles & 50–950 ramp

primary
#752F7A
secondary
#61A95C
accent
#D4545C
background
#FAF6F9
surface
#F3ECF2
border
#CDC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #752F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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