#53186A#53186A

#53186A is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.6% C 0.139 H 314.5°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#53186A
RGBrgb(83, 24, 106)
HSLhsl(283, 63%, 25%)
HSVhsv(283, 77%, 42%)
CMYKcmyk(21.7%, 77.4%, 0%, 58.4%)
CIE-LABlab(22.06, 40.35, -35.25)
CIE-LCHlch(22.06, 53.58, 318.86°)
OKLaboklab(34.61% 0.0978 -0.0994)
OKLCHoklch(34.61% 0.139 314.5)
XYZxyz(6.4950, 3.5331, 13.9727)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53186A #2F6A18
analogous
#2A186A #53186A #6A1858
triadic
#53186A #6A5318 #186A53
tetradic
#53186A #6A2A18 #2F6A18 #18586A
square
#53186A #6A2A18 #2F6A18 #18586A
split-complementary
#53186A #586A18 #186A2A
monochromatic
#140619 #2C0D38 #53186A #7A239C #A12FCE

Accessibility & contrast

On white

12.31
#53186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#53186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53186A
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53186A#FFFFFF#000000##FFFFFF
##53186A1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#143668
Tritanopia (blue-blind)
#512A40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #53186a;
/* rgb */ color: rgb(83, 24, 106);
/* oklch */ color: oklch(34.6% 0.139 314.5);
Tailwind
colors: {
  custom: {
    50: '#875c95',
    500: '#53186a',
    950: '#000000',
  },
}
SCSS
$custom: #53186a;
$custom-light: #875c95;
$custom-dark: #000000;
JSON
{
  "hex": "#53186a",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 283.171,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34605,
    "c": 0.13948,
    "h": 314.5
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#53186A
secondary
#59A03E
accent
#E64270
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #53186A

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

Preview Lab → · Contrast checker → · Palette generator →

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