#752D7A#752D7A

#752D7A is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.142 H 325.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#752D7A
RGBrgb(117, 45, 122)
HSLhsl(296, 46%, 33%)
HSVhsv(296, 63%, 48%)
CMYKcmyk(4.1%, 63.1%, 0%, 52.2%)
CIE-LABlab(31.95, 42.65, -29.38)
CIE-LCHlch(31.95, 51.79, 325.44°)
OKLaboklab(43.15% 0.1165 -0.0814)
OKLCHoklch(43.15% 0.142 325.1)
XYZxyz(11.7871, 7.0645, 19.1513)
Luminance0.0706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D7A #327A2D
analogous
#4E2D7A #752D7A #7A2D58
triadic
#752D7A #7A752D #2D7A75
tetradic
#752D7A #7A4E2D #327A2D #2D587A
square
#752D7A #7A4E2D #327A2D #2D587A
split-complementary
#752D7A #587A2D #2D7A4E
monochromatic
#1F0C21 #4A1D4D #752D7A #A03DA7 #BD5EC4

Accessibility & contrast

On white

8.70
#752D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752D7A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D7A#FFFFFF#000000##FFFFFF
##752D7A1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457C
Deuteranopia (green-blind)
#3B4E78
Tritanopia (blue-blind)
#78384F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752d7a;
/* rgb */ color: rgb(117, 45, 122);
/* oklch */ color: oklch(43.2% 0.142 325.1);
Tailwind
colors: {
  custom: {
    50: '#9f6ba1',
    500: '#752d7a',
    950: '#000000',
  },
}
SCSS
$custom: #752d7a;
$custom-light: #9f6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#752d7a",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 296.104,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43153,
    "c": 0.14208,
    "h": 325.1
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#752D7A
secondary
#5EAA59
accent
#D6525B
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #752D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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