#752B7A#752B7A

#752B7A is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.145 H 325.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#752B7A
RGBrgb(117, 43, 122)
HSLhsl(296, 48%, 32%)
HSVhsv(296, 65%, 48%)
CMYKcmyk(4.1%, 64.8%, 0%, 52.2%)
CIE-LABlab(31.61, 43.58, -29.92)
CIE-LCHlch(31.61, 52.86, 325.53°)
OKLaboklab(42.91% 0.1191 -0.0829)
OKLCHoklch(42.91% 0.145 325.1)
XYZxyz(11.7126, 6.9155, 19.1265)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B7A #307A2B
analogous
#4E2B7A #752B7A #7A2B57
triadic
#752B7A #7A752B #2B7A75
tetradic
#752B7A #7A4E2B #307A2B #2B577A
square
#752B7A #7A4E2B #307A2B #2B577A
split-complementary
#752B7A #577A2B #2B7A4E
monochromatic
#1E0B1F #4A1B4D #752B7A #A03BA7 #BE5AC5

Accessibility & contrast

On white

8.81
#752B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#752B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B7A
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B7A#FFFFFF#000000##FFFFFF
##752B7A1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457C
Deuteranopia (green-blind)
#3A4E78
Tritanopia (blue-blind)
#78364E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752b7a;
/* rgb */ color: rgb(117, 43, 122);
/* oklch */ color: oklch(42.9% 0.145 325.1);
Tailwind
colors: {
  custom: {
    50: '#9f6aa1',
    500: '#752b7a',
    950: '#000000',
  },
}
SCSS
$custom: #752b7a;
$custom-light: #9f6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#752b7a",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 296.203,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42907,
    "c": 0.14509,
    "h": 325.1
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#752B7A
secondary
#5BAB56
accent
#D75059
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #752B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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