#752179#752179

#752179 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.158 H 326.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#752179
RGBrgb(117, 33, 121)
HSLhsl(297, 57%, 30%)
HSVhsv(297, 73%, 47%)
CMYKcmyk(3.3%, 72.7%, 0%, 52.5%)
CIE-LABlab(30.04, 47.65, -31.79)
CIE-LCHlch(30.04, 57.28, 326.29°)
OKLaboklab(41.75% 0.1309 -0.0883)
OKLCHoklch(41.75% 0.158 326)
XYZxyz(11.3309, 6.2508, 18.6952)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752179 #257921
analogous
#492179 #752179 #792151
triadic
#752179 #797521 #217975
tetradic
#752179 #794921 #257921 #215179
square
#752179 #794921 #257921 #215179
split-complementary
#752179 #517921 #217949
monochromatic
#180719 #471449 #752179 #A32EA9 #C747CD

Accessibility & contrast

On white

9.33
#752179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#752179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752179
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752179#FFFFFF#000000##FFFFFF
##7521791.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D407B
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#782F4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #752179;
/* rgb */ color: rgb(117, 33, 121);
/* oklch */ color: oklch(41.8% 0.158 326.0);
Tailwind
colors: {
  custom: {
    50: '#a065a0',
    500: '#752179',
    950: '#000000',
  },
}
SCSS
$custom: #752179;
$custom-light: #a065a0;
$custom-dark: #000000;
JSON
{
  "hex": "#752179",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 297.273,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41751,
    "c": 0.15786,
    "h": 326
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#752179
secondary
#4EAC4A
accent
#E0474E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #752179

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

Preview Lab → · Contrast checker → · Palette generator →

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