#53186C#53186C

#53186C is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.141 H 313.6°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#53186C
RGBrgb(83, 24, 108)
HSLhsl(282, 64%, 26%)
HSVhsv(282, 78%, 42%)
CMYKcmyk(23.1%, 77.8%, 0%, 57.6%)
CIE-LABlab(22.21, 40.80, -36.31)
CIE-LCHlch(22.21, 54.62, 318.33°)
OKLaboklab(34.76% 0.0975 -0.1025)
OKLCHoklch(34.76% 0.142 313.6)
XYZxyz(6.6002, 3.5752, 14.5269)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53186C #316C18
analogous
#29186C #53186C #6C185B
triadic
#53186C #6C5318 #186C53
tetradic
#53186C #6C2918 #316C18 #185B6C
square
#53186C #6C2918 #316C18 #185B6C
split-complementary
#53186C #5B6C18 #186C29
monochromatic
#130619 #2D0D3A #53186C #79239E #A02ED0

Accessibility & contrast

On white

12.24
#53186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#53186C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53186C
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53186C#FFFFFF#000000##FFFFFF
##53186C1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#11366A
Tritanopia (blue-blind)
#502B41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #53186c;
/* rgb */ color: rgb(83, 24, 108);
/* oklch */ color: oklch(34.8% 0.141 313.6);
Tailwind
colors: {
  custom: {
    50: '#875c97',
    500: '#53186c',
    950: '#000000',
  },
}
SCSS
$custom: #53186c;
$custom-light: #875c97;
$custom-dark: #000000;
JSON
{
  "hex": "#53186c",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 282.143,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.34759,
    "c": 0.1415,
    "h": 313.6
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#53186C
secondary
#5CA23E
accent
#E74172
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #53186C

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

Preview Lab → · Contrast checker → · Palette generator →

#53186C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva