#53176C#53176C

#53176C is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.7% C 0.143 H 313.7°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#53176C
RGBrgb(83, 23, 108)
HSLhsl(282, 65%, 26%)
HSVhsv(282, 79%, 42%)
CMYKcmyk(23.1%, 78.7%, 0%, 57.6%)
CIE-LABlab(22.07, 41.21, -36.54)
CIE-LCHlch(22.07, 55.08, 318.44°)
OKLaboklab(34.66% 0.0985 -0.1032)
OKLCHoklch(34.66% 0.143 313.7)
XYZxyz(6.5800, 3.5347, 14.5201)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53176C #306C17
analogous
#28176C #53176C #6C175A
triadic
#53176C #6C5317 #176C53
tetradic
#53176C #6C2817 #306C17 #175A6C
square
#53176C #6C2817 #306C17 #175A6C
split-complementary
#53176C #5A6C17 #176C28
monochromatic
#130519 #2C0C3A #53176C #7A229E #A12CD1

Accessibility & contrast

On white

12.30
#53176C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#53176C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53176C
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53176C#FFFFFF#000000##FFFFFF
##53176C1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#0F366A
Tritanopia (blue-blind)
#502A40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #53176c;
/* rgb */ color: rgb(83, 23, 108);
/* oklch */ color: oklch(34.7% 0.143 313.7);
Tailwind
colors: {
  custom: {
    50: '#875b97',
    500: '#53176c',
    950: '#000000',
  },
}
SCSS
$custom: #53176c;
$custom-light: #875b97;
$custom-dark: #000000;
JSON
{
  "hex": "#53176c",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 108
  },
  "hsl": {
    "h": 282.353,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34657,
    "c": 0.1427,
    "h": 313.7
  },
  "luminance": 0.03535
}

Semantic roles & 50–950 ramp

primary
#53176C
secondary
#5BA23D
accent
#E84071
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #53176C

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

Preview Lab → · Contrast checker → · Palette generator →

#53176C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva