#752C71#752C71

#752C71 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.5% C 0.135 H 329.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#752C71
RGBrgb(117, 44, 113)
HSLhsl(303, 45%, 32%)
HSVhsv(303, 62%, 46%)
CMYKcmyk(0%, 62.4%, 3.4%, 54.1%)
CIE-LABlab(31.29, 41.41, -24.74)
CIE-LCHlch(31.29, 48.24, 329.15°)
OKLaboklab(42.51% 0.117 -0.068)
OKLCHoklch(42.51% 0.135 329.8)
XYZxyz(11.2173, 6.7763, 16.3367)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752C71 #2C7530
analogous
#552C75 #752C71 #752C4D
triadic
#752C71 #71752C #2C7175
tetradic
#752C71 #75552C #2C7530 #2C4D75
square
#752C71 #75552C #2C7530 #2C4D75
split-complementary
#752C71 #4D752C #2C7555
monochromatic
#1C0B1B #491B46 #752C71 #A13D9C #C15ABB

Accessibility & contrast

On white

8.92
#752C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#752C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752C71
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752C71#FFFFFF#000000##FFFFFF
##752C711.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264373
Deuteranopia (green-blind)
#3F4D6F
Tritanopia (blue-blind)
#79344A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752c71;
/* rgb */ color: rgb(117, 44, 113);
/* oklch */ color: oklch(42.5% 0.135 329.8);
Tailwind
colors: {
  custom: {
    50: '#9f6a9a',
    500: '#752c71',
    950: '#000000',
  },
}
SCSS
$custom: #752c71;
$custom-light: #9f6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#752c71",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 303.288,
    "s": 45.342,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42513,
    "c": 0.13528,
    "h": 329.8
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#752C71
secondary
#56A75B
accent
#D55A53
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752C71

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

Preview Lab → · Contrast checker → · Palette generator →

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