#53175A#53175A

#53175A is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.125 H 323.4°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#53175A
RGBrgb(83, 23, 90)
HSLhsl(294, 59%, 22%)
HSVhsv(294, 74%, 35%)
CMYKcmyk(7.8%, 74.4%, 0%, 64.7%)
CIE-LABlab(20.79, 37.35, -26.76)
CIE-LCHlch(20.79, 45.95, 324.38°)
OKLaboklab(33.34% 0.1003 -0.0746)
OKLCHoklch(33.34% 0.125 323.4)
XYZxyz(5.7190, 3.1903, 9.9854)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53175A #1E5A17
analogous
#31175A #53175A #5A1740
triadic
#53175A #5A5317 #175A53
tetradic
#53175A #5A3117 #1E5A17 #17405A
square
#53175A #5A3117 #1E5A17 #17405A
split-complementary
#53175A #405A17 #175A31
monochromatic
#160618 #260B29 #53175A #80238B #AD30BB

Accessibility & contrast

On white

12.82
#53175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#53175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53175A
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53175A#FFFFFF#000000##FFFFFF
##53175A1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042E5C
Deuteranopia (green-blind)
#223458
Tritanopia (blue-blind)
#542236
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #53175a;
/* rgb */ color: rgb(83, 23, 90);
/* oklch */ color: oklch(33.3% 0.125 323.4);
Tailwind
colors: {
  custom: {
    50: '#865a89',
    500: '#53175a',
    950: '#000000',
  },
}
SCSS
$custom: #53175a;
$custom-light: #865a89;
$custom-dark: #000000;
JSON
{
  "hex": "#53175a",
  "rgb": {
    "r": 83,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 293.731,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33338,
    "c": 0.12498,
    "h": 323.4
  },
  "luminance": 0.0319
}

Semantic roles & 50–950 ramp

primary
#53175A
secondary
#45913C
accent
#E24556
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #53175A

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

Preview Lab → · Contrast checker → · Palette generator →

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