#752D79#752D79

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

Color values

HEX#752D79
RGBrgb(117, 45, 121)
HSLhsl(297, 46%, 33%)
HSVhsv(297, 63%, 47%)
CMYKcmyk(3.3%, 62.8%, 0%, 52.5%)
CIE-LABlab(31.90, 42.45, -28.84)
CIE-LCHlch(31.90, 51.32, 325.81°)
OKLaboklab(43.09% 0.1164 -0.0798)
OKLCHoklch(43.09% 0.141 325.6)
XYZxyz(11.7254, 7.0398, 18.8267)
Luminance0.0704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D79 #31792D
analogous
#4F2D79 #752D79 #792D57
triadic
#752D79 #79752D #2D7975
tetradic
#752D79 #794F2D #31792D #2D5779
square
#752D79 #794F2D #31792D #2D5779
split-complementary
#752D79 #57792D #2D794F
monochromatic
#1F0C20 #4A1C4C #752D79 #A03EA6 #BE5DC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752D79#FFFFFF#000000##FFFFFF
##752D791.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)
#21457B
Deuteranopia (green-blind)
#3B4E77
Tritanopia (blue-blind)
#78374E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752d79;
/* rgb */ color: rgb(117, 45, 121);
/* oklch */ color: oklch(43.1% 0.141 325.6);
Tailwind
colors: {
  custom: {
    50: '#9f6ba0',
    500: '#752d79',
    950: '#000000',
  },
}
SCSS
$custom: #752d79;
$custom-light: #9f6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#752d79",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 296.842,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43094,
    "c": 0.14113,
    "h": 325.6
  },
  "luminance": 0.07039
}

Semantic roles & 50–950 ramp

primary
#752D79
secondary
#5DA958
accent
#D55259
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752D79

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

Preview Lab → · Contrast checker → · Palette generator →

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