#53176A#53176A

#53176A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.141 H 314.6°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#53176A
RGBrgb(83, 23, 106)
HSLhsl(283, 64%, 25%)
HSVhsv(283, 78%, 42%)
CMYKcmyk(21.7%, 78.3%, 0%, 58.4%)
CIE-LABlab(21.92, 40.77, -35.49)
CIE-LCHlch(21.92, 54.05, 318.96°)
OKLaboklab(34.5% 0.0988 -0.1001)
OKLCHoklch(34.5% 0.141 314.6)
XYZxyz(6.4748, 3.4926, 13.9660)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53176A #2E6A17
analogous
#29176A #53176A #6A1758
triadic
#53176A #6A5317 #176A53
tetradic
#53176A #6A2917 #2E6A17 #17586A
square
#53176A #6A2917 #2E6A17 #17586A
split-complementary
#53176A #586A17 #176A29
monochromatic
#140519 #2C0C38 #53176A #7A229C #A22DCF

Accessibility & contrast

On white

12.36
#53176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53176A
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53176A#FFFFFF#000000##FFFFFF
##53176A1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#133668
Tritanopia (blue-blind)
#51293F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #53176a;
/* rgb */ color: rgb(83, 23, 106);
/* oklch */ color: oklch(34.5% 0.141 314.6);
Tailwind
colors: {
  custom: {
    50: '#875b95',
    500: '#53176a',
    950: '#000000',
  },
}
SCSS
$custom: #53176a;
$custom-light: #875b95;
$custom-dark: #000000;
JSON
{
  "hex": "#53176a",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 283.373,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34501,
    "c": 0.1407,
    "h": 314.6
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#53176A
secondary
#58A03D
accent
#E7406F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #53176A

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

Preview Lab → · Contrast checker → · Palette generator →

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