#752170#752170

#752170 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.150 H 330.4°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#752170
RGBrgb(117, 33, 112)
HSLhsl(304, 56%, 29%)
HSVhsv(304, 72%, 46%)
CMYKcmyk(0%, 71.8%, 4.3%, 54.1%)
CIE-LABlab(29.51, 46.03, -26.90)
CIE-LCHlch(29.51, 53.31, 329.70°)
OKLaboklab(41.21% 0.1306 -0.0741)
OKLCHoklch(41.21% 0.15 330.4)
XYZxyz(10.8046, 6.0403, 15.9229)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752170 #217526
analogous
#502175 #752170 #752146
triadic
#752170 #707521 #217075
tetradic
#752170 #755021 #217526 #214675
square
#752170 #755021 #217526 #214675
split-complementary
#752170 #467521 #217550
monochromatic
#180717 #451442 #752170 #A52E9E #CB46C3

Accessibility & contrast

On white

9.51
#752170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#752170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752170
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752170#FFFFFF#000000##FFFFFF
##7521701.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E72
Deuteranopia (green-blind)
#394A6E
Tritanopia (blue-blind)
#7A2B46
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #752170;
/* rgb */ color: rgb(117, 33, 112);
/* oklch */ color: oklch(41.2% 0.150 330.4);
Tailwind
colors: {
  custom: {
    50: '#a06599',
    500: '#752170',
    950: '#000000',
  },
}
SCSS
$custom: #752170;
$custom-light: #a06599;
$custom-dark: #000000;
JSON
{
  "hex": "#752170",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 303.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41206,
    "c": 0.15019,
    "h": 330.4
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#752170
secondary
#4AA84F
accent
#DF5149
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752170

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

Preview Lab → · Contrast checker → · Palette generator →

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