#53176B#53176B

#53176B is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.142 H 314.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#53176B
RGBrgb(83, 23, 107)
HSLhsl(283, 65%, 25%)
HSVhsv(283, 79%, 42%)
CMYKcmyk(22.4%, 78.5%, 0%, 58%)
CIE-LABlab(21.99, 40.99, -36.02)
CIE-LCHlch(21.99, 54.56, 318.69°)
OKLaboklab(34.58% 0.0987 -0.1017)
OKLCHoklch(34.58% 0.142 314.2)
XYZxyz(6.5271, 3.5136, 14.2414)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53176B #2F6B17
analogous
#29176B #53176B #6B1759
triadic
#53176B #6B5317 #176B53
tetradic
#53176B #6B2917 #2F6B17 #17596B
square
#53176B #6B2917 #2F6B17 #17596B
split-complementary
#53176B #596B17 #176B29
monochromatic
#140519 #2C0C39 #53176B #7A229D #A12DD0

Accessibility & contrast

On white

12.33
#53176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#53176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53176B
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53176B#FFFFFF#000000##FFFFFF
##53176B1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#113669
Tritanopia (blue-blind)
#512A40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #53176b;
/* rgb */ color: rgb(83, 23, 107);
/* oklch */ color: oklch(34.6% 0.142 314.2);
Tailwind
colors: {
  custom: {
    50: '#875b96',
    500: '#53176b',
    950: '#000000',
  },
}
SCSS
$custom: #53176b;
$custom-light: #875b96;
$custom-dark: #000000;
JSON
{
  "hex": "#53176b",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 282.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34579,
    "c": 0.1417,
    "h": 314.2
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#53176B
secondary
#59A13D
accent
#E84070
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #53176B

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

Preview Lab → · Contrast checker → · Palette generator →

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