#752A6D#752A6D

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

Color values

HEX#752A6D
RGBrgb(117, 42, 109)
HSLhsl(306, 47%, 31%)
HSVhsv(306, 64%, 46%)
CMYKcmyk(0%, 64.1%, 6.8%, 54.1%)
CIE-LABlab(30.74, 41.63, -23.05)
CIE-LCHlch(30.74, 47.58, 331.02°)
OKLaboklab(42.04% 0.1192 -0.0631)
OKLCHoklch(42.04% 0.135 332.1)
XYZxyz(10.9244, 6.5428, 15.1525)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A6D #2A7532
analogous
#572A75 #752A6D #752A47
triadic
#752A6D #6D752A #2A6D75
tetradic
#752A6D #75572A #2A7532 #2A4775
square
#752A6D #75572A #2A7532 #2A4775
split-complementary
#752A6D #47752A #2A7557
monochromatic
#1B0A19 #481A43 #752A6D #A23A97 #C357B7

Accessibility & contrast

On white

9.10
#752A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#752A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A6D
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A6D#FFFFFF#000000##FFFFFF
##752A6D1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27426F
Deuteranopia (green-blind)
#3F4C6B
Tritanopia (blue-blind)
#7A3147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752a6d;
/* rgb */ color: rgb(117, 42, 109);
/* oklch */ color: oklch(42.0% 0.135 332.1);
Tailwind
colors: {
  custom: {
    50: '#9f6997',
    500: '#752a6d',
    950: '#000000',
  },
}
SCSS
$custom: #752a6d;
$custom-light: #9f6997;
$custom-dark: #000000;
JSON
{
  "hex": "#752a6d",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 306.4,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42044,
    "c": 0.13485,
    "h": 332.1
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#752A6D
secondary
#54A75D
accent
#D75F51
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #752A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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