#53176D#53176D

#53176D is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.144 H 313.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#53176D
RGBrgb(83, 23, 109)
HSLhsl(282, 65%, 26%)
HSVhsv(282, 79%, 43%)
CMYKcmyk(23.9%, 78.9%, 0%, 57.3%)
CIE-LABlab(22.15, 41.44, -37.07)
CIE-LCHlch(22.15, 55.60, 318.19°)
OKLaboklab(34.74% 0.0984 -0.1048)
OKLCHoklch(34.74% 0.144 313.2)
XYZxyz(6.6335, 3.5561, 14.8020)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53176D #316D17
analogous
#28176D #53176D #6D175C
triadic
#53176D #6D5317 #176D53
tetradic
#53176D #6D2817 #316D17 #175C6D
square
#53176D #6D2817 #316D17 #175C6D
split-complementary
#53176D #5C6D17 #176D28
monochromatic
#130519 #2D0C3A #53176D #7922A0 #A02CD2

Accessibility & contrast

On white

12.27
#53176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53176D
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53176D#FFFFFF#000000##FFFFFF
##53176D1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326F
Deuteranopia (green-blind)
#0E366B
Tritanopia (blue-blind)
#502B41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #53176d;
/* rgb */ color: rgb(83, 23, 109);
/* oklch */ color: oklch(34.7% 0.144 313.2);
Tailwind
colors: {
  custom: {
    50: '#875b97',
    500: '#53176d',
    950: '#000000',
  },
}
SCSS
$custom: #53176d;
$custom-light: #875b97;
$custom-dark: #000000;
JSON
{
  "hex": "#53176d",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 281.86,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34735,
    "c": 0.1437,
    "h": 313.2
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#53176D
secondary
#5CA33D
accent
#E84073
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #53176D

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

Preview Lab → · Contrast checker → · Palette generator →

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