#752173#752173

#752173 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.4% C 0.153 H 328.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#752173
RGBrgb(117, 33, 115)
HSLhsl(301, 56%, 29%)
HSVhsv(301, 72%, 46%)
CMYKcmyk(0%, 71.8%, 1.7%, 54.1%)
CIE-LABlab(29.68, 46.56, -28.54)
CIE-LCHlch(29.68, 54.61, 328.49°)
OKLaboklab(41.38% 0.1308 -0.0788)
OKLCHoklch(41.38% 0.153 328.9)
XYZxyz(10.9744, 6.1082, 16.8173)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752173 #217523
analogous
#4D2175 #752173 #752149
triadic
#752173 #737521 #217375
tetradic
#752173 #754D21 #217523 #214975
square
#752173 #754D21 #217523 #214975
split-complementary
#752173 #497521 #21754D
monochromatic
#180717 #451444 #752173 #A52EA2 #CB46C8

Accessibility & contrast

On white

9.45
#752173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#752173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752173
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752173#FFFFFF#000000##FFFFFF
##7521731.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F75
Deuteranopia (green-blind)
#384A71
Tritanopia (blue-blind)
#792C47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #752173;
/* rgb */ color: rgb(117, 33, 115);
/* oklch */ color: oklch(41.4% 0.153 328.9);
Tailwind
colors: {
  custom: {
    50: '#a0659b',
    500: '#752173',
    950: '#000000',
  },
}
SCSS
$custom: #752173;
$custom-light: #a0659b;
$custom-dark: #000000;
JSON
{
  "hex": "#752173",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 301.429,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41383,
    "c": 0.15271,
    "h": 328.9
  },
  "luminance": 0.06107
}

Semantic roles & 50–950 ramp

primary
#752173
secondary
#4AA84C
accent
#DF4C49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752173

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

Preview Lab → · Contrast checker → · Palette generator →

#752173 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva