#752172#752172

#752172 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.152 H 329.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#752172
RGBrgb(117, 33, 114)
HSLhsl(302, 56%, 29%)
HSVhsv(302, 72%, 46%)
CMYKcmyk(0%, 71.8%, 2.6%, 54.1%)
CIE-LABlab(29.63, 46.38, -28.00)
CIE-LCHlch(29.63, 54.18, 328.89°)
OKLaboklab(41.32% 0.1307 -0.0773)
OKLCHoklch(41.32% 0.152 329.4)
XYZxyz(10.9172, 6.0853, 16.5159)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752172 #217524
analogous
#4E2175 #752172 #752148
triadic
#752172 #727521 #217275
tetradic
#752172 #754E21 #217524 #214875
square
#752172 #754E21 #217524 #214875
split-complementary
#752172 #487521 #21754E
monochromatic
#180717 #451443 #752172 #A52EA1 #CB46C6

Accessibility & contrast

On white

9.47
#752172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752172
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752172#FFFFFF#000000##FFFFFF
##7521721.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173F74
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#792C47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #752172;
/* rgb */ color: rgb(117, 33, 114);
/* oklch */ color: oklch(41.3% 0.152 329.4);
Tailwind
colors: {
  custom: {
    50: '#a0659b',
    500: '#752172',
    950: '#000000',
  },
}
SCSS
$custom: #752172;
$custom-light: #a0659b;
$custom-dark: #000000;
JSON
{
  "hex": "#752172",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 302.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41323,
    "c": 0.15187,
    "h": 329.4
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#752172
secondary
#4AA84D
accent
#DF4E49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752172

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

Preview Lab → · Contrast checker → · Palette generator →

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