#752A6C#752A6C

#752A6C is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.134 H 332.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#752A6C
RGBrgb(117, 42, 108)
HSLhsl(307, 47%, 31%)
HSVhsv(307, 64%, 46%)
CMYKcmyk(0%, 64.1%, 7.7%, 54.1%)
CIE-LABlab(30.69, 41.45, -22.49)
CIE-LCHlch(30.69, 47.16, 331.51°)
OKLaboklab(41.99% 0.1191 -0.0615)
OKLCHoklch(41.99% 0.134 332.7)
XYZxyz(10.8709, 6.5214, 14.8706)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A6C #2A7533
analogous
#582A75 #752A6C #752A46
triadic
#752A6C #6C752A #2A6C75
tetradic
#752A6C #75582A #2A7533 #2A4675
square
#752A6C #75582A #2A7533 #2A4675
split-complementary
#752A6C #46752A #2A7558
monochromatic
#1B0A19 #481A42 #752A6C #A23A96 #C357B6

Accessibility & contrast

On white

9.11
#752A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#752A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A6C
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A6C#FFFFFF#000000##FFFFFF
##752A6C1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416E
Deuteranopia (green-blind)
#404C6A
Tritanopia (blue-blind)
#7A3047
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752a6c;
/* rgb */ color: rgb(117, 42, 108);
/* oklch */ color: oklch(42.0% 0.134 332.7);
Tailwind
colors: {
  custom: {
    50: '#9f6996',
    500: '#752a6c',
    950: '#000000',
  },
}
SCSS
$custom: #752a6c;
$custom-light: #9f6996;
$custom-dark: #000000;
JSON
{
  "hex": "#752a6c",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 307.2,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4199,
    "c": 0.134,
    "h": 332.7
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#752A6C
secondary
#54A75E
accent
#D76151
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #752A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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