#53186B#53186B

#53186B is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.7% C 0.140 H 314.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#53186B
RGBrgb(83, 24, 107)
HSLhsl(283, 63%, 26%)
HSVhsv(283, 78%, 42%)
CMYKcmyk(22.4%, 77.6%, 0%, 58%)
CIE-LABlab(22.14, 40.57, -35.78)
CIE-LCHlch(22.14, 54.10, 318.59°)
OKLaboklab(34.68% 0.0977 -0.101)
OKLCHoklch(34.68% 0.14 314)
XYZxyz(6.5473, 3.5540, 14.2482)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53186B #306B18
analogous
#2A186B #53186B #6B1859
triadic
#53186B #6B5318 #186B53
tetradic
#53186B #6B2A18 #306B18 #18596B
square
#53186B #6B2A18 #306B18 #18596B
split-complementary
#53186B #596B18 #186B2A
monochromatic
#130619 #2C0D39 #53186B #7A239D #A12ECF

Accessibility & contrast

On white

12.27
#53186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53186B
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53186B#FFFFFF#000000##FFFFFF
##53186B1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #53186b;
/* rgb */ color: rgb(83, 24, 107);
/* oklch */ color: oklch(34.7% 0.140 314.0);
Tailwind
colors: {
  custom: {
    50: '#875c96',
    500: '#53186b',
    950: '#000000',
  },
}
SCSS
$custom: #53186b;
$custom-light: #875c96;
$custom-dark: #000000;
JSON
{
  "hex": "#53186b",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 282.651,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34682,
    "c": 0.14049,
    "h": 314
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#53186B
secondary
#5BA13E
accent
#E64171
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #53186B

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

Preview Lab → · Contrast checker → · Palette generator →

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