#752A6F#752A6F

#752A6F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.137 H 331.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#752A6F
RGBrgb(117, 42, 111)
HSLhsl(305, 47%, 31%)
HSVhsv(305, 64%, 46%)
CMYKcmyk(0%, 64.1%, 5.1%, 54.1%)
CIE-LABlab(30.85, 41.99, -24.17)
CIE-LCHlch(30.85, 48.44, 330.08°)
OKLaboklab(42.15% 0.1194 -0.0663)
OKLCHoklch(42.15% 0.137 331)
XYZxyz(11.0333, 6.5863, 15.7260)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A6F #2A7530
analogous
#552A75 #752A6F #752A49
triadic
#752A6F #6F752A #2A6F75
tetradic
#752A6F #75552A #2A7530 #2A4975
square
#752A6F #75552A #2A7530 #2A4975
split-complementary
#752A6F #49752A #2A7555
monochromatic
#1B0A1A #481A44 #752A6F #A23A9A #C357BA

Accessibility & contrast

On white

9.06
#752A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#752A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A6F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A6F#FFFFFF#000000##FFFFFF
##752A6F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#3F4C6D
Tritanopia (blue-blind)
#7A3148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752a6f;
/* rgb */ color: rgb(117, 42, 111);
/* oklch */ color: oklch(42.2% 0.137 331.0);
Tailwind
colors: {
  custom: {
    50: '#9f6998',
    500: '#752a6f',
    950: '#000000',
  },
}
SCSS
$custom: #752a6f;
$custom-light: #9f6998;
$custom-dark: #000000;
JSON
{
  "hex": "#752a6f",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 304.8,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42154,
    "c": 0.1366,
    "h": 331
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#752A6F
secondary
#54A75B
accent
#D75C51
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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