#752177#752177

#752177 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.156 H 327.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#752177
RGBrgb(117, 33, 119)
HSLhsl(299, 57%, 30%)
HSVhsv(299, 72%, 47%)
CMYKcmyk(1.7%, 72.3%, 0%, 53.3%)
CIE-LABlab(29.92, 47.28, -30.71)
CIE-LCHlch(29.92, 56.38, 326.99°)
OKLaboklab(41.63% 0.1309 -0.0851)
OKLCHoklch(41.63% 0.156 327)
XYZxyz(11.2096, 6.2023, 18.0559)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752177 #237721
analogous
#4A2177 #752177 #77214E
triadic
#752177 #777521 #217775
tetradic
#752177 #774A21 #237721 #214E77
square
#752177 #774A21 #237721 #214E77
split-complementary
#752177 #4E7721 #21774A
monochromatic
#180718 #461447 #752177 #A42EA7 #C947CC

Accessibility & contrast

On white

9.37
#752177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#752177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752177
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752177#FFFFFF#000000##FFFFFF
##7521771.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104079
Deuteranopia (green-blind)
#364A75
Tritanopia (blue-blind)
#782E49
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #752177;
/* rgb */ color: rgb(117, 33, 119);
/* oklch */ color: oklch(41.6% 0.156 327.0);
Tailwind
colors: {
  custom: {
    50: '#a0659e',
    500: '#752177',
    950: '#000000',
  },
}
SCSS
$custom: #752177;
$custom-light: #a0659e;
$custom-dark: #000000;
JSON
{
  "hex": "#752177",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 298.605,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41626,
    "c": 0.15613,
    "h": 327
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#752177
secondary
#4CAA4A
accent
#E0484B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752177

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

Preview Lab → · Contrast checker → · Palette generator →

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