#53176F#53176F

#53176F is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.9% C 0.146 H 312.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#53176F
RGBrgb(83, 23, 111)
HSLhsl(281, 66%, 26%)
HSVhsv(281, 79%, 44%)
CMYKcmyk(25.2%, 79.3%, 0%, 56.5%)
CIE-LABlab(22.30, 41.89, -38.11)
CIE-LCHlch(22.30, 56.63, 317.70°)
OKLaboklab(34.89% 0.098 -0.1078)
OKLCHoklch(34.89% 0.146 312.3)
XYZxyz(6.7424, 3.5997, 15.3755)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53176F #336F17
analogous
#27176F #53176F #6F175F
triadic
#53176F #6F5317 #176F53
tetradic
#53176F #6F2717 #336F17 #175F6F
square
#53176F #6F2717 #336F17 #175F6F
split-complementary
#53176F #5F6F17 #176F27
monochromatic
#130519 #2D0C3C #53176F #7922A2 #9E2DD3

Accessibility & contrast

On white

12.21
#53176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#53176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53176F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53176F#FFFFFF#000000##FFFFFF
##53176F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#0A366D
Tritanopia (blue-blind)
#502B42
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #53176f;
/* rgb */ color: rgb(83, 23, 111);
/* oklch */ color: oklch(34.9% 0.146 312.3);
Tailwind
colors: {
  custom: {
    50: '#875b99',
    500: '#53176f',
    950: '#000000',
  },
}
SCSS
$custom: #53176f;
$custom-light: #875b99;
$custom-dark: #000000;
JSON
{
  "hex": "#53176f",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 280.909,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34894,
    "c": 0.14571,
    "h": 312.3
  },
  "luminance": 0.03599
}

Semantic roles & 50–950 ramp

primary
#53176F
secondary
#5EA53D
accent
#E93F75
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #53176F

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

Preview Lab → · Contrast checker → · Palette generator →

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