#53186D#53186D

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

Color values

HEX#53186D
RGBrgb(83, 24, 109)
HSLhsl(282, 64%, 26%)
HSVhsv(282, 78%, 43%)
CMYKcmyk(23.9%, 78%, 0%, 57.3%)
CIE-LABlab(22.29, 41.02, -36.83)
CIE-LCHlch(22.29, 55.13, 318.08°)
OKLaboklab(34.84% 0.0973 -0.1041)
OKLCHoklch(34.84% 0.143 313.1)
XYZxyz(6.6537, 3.5966, 14.8087)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53186D #326D18
analogous
#28186D #53186D #6D185C
triadic
#53186D #6D5318 #186D53
tetradic
#53186D #6D2818 #326D18 #185C6D
square
#53186D #6D2818 #326D18 #185C6D
split-complementary
#53186D #5C6D18 #186D28
monochromatic
#130619 #2D0D3B #53186D #79239F #9F2ED1

Accessibility & contrast

On white

12.21
#53186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53186D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53186D#FFFFFF#000000##FFFFFF
##53186D1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #53186d;
/* rgb */ color: rgb(83, 24, 109);
/* oklch */ color: oklch(34.8% 0.143 313.1);
Tailwind
colors: {
  custom: {
    50: '#875c97',
    500: '#53186d',
    950: '#000000',
  },
}
SCSS
$custom: #53186d;
$custom-light: #875c97;
$custom-dark: #000000;
JSON
{
  "hex": "#53186d",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 281.647,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34837,
    "c": 0.14251,
    "h": 313.1
  },
  "luminance": 0.03596
}

Semantic roles & 50–950 ramp

primary
#53186D
secondary
#5DA33E
accent
#E74174
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #53186D

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

Preview Lab → · Contrast checker → · Palette generator →

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