#53187B#53187B

#53187B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.157 H 307.0°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#53187B
RGBrgb(83, 24, 123)
HSLhsl(276, 67%, 29%)
HSVhsv(276, 80%, 48%)
CMYKcmyk(32.5%, 80.5%, 0%, 51.8%)
CIE-LABlab(23.41, 44.27, -44.00)
CIE-LCHlch(23.41, 62.42, 315.18°)
OKLaboklab(35.98% 0.0944 -0.1251)
OKLCHoklch(35.98% 0.157 307)
XYZxyz(7.4683, 3.9224, 19.0987)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53187B #407B18
analogous
#22187B #53187B #7B1872
triadic
#53187B #7B5318 #187B53
tetradic
#53187B #7B2218 #407B18 #18727B
square
#53187B #7B2218 #407B18 #18727B
split-complementary
#53187B #727B18 #187B22
monochromatic
#11051A #300E48 #53187B #7622AE #9636D8

Accessibility & contrast

On white

11.77
#53187B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#53187B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53187B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53187B#FFFFFF#000000##FFFFFF
##53187B1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#4C3149
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #53187b;
/* rgb */ color: rgb(83, 24, 123);
/* oklch */ color: oklch(36.0% 0.157 307.0);
Tailwind
colors: {
  custom: {
    50: '#885ca2',
    500: '#53187b',
    950: '#000000',
  },
}
SCSS
$custom: #53187b;
$custom-light: #885ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#53187b",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 123
  },
  "hsl": {
    "h": 275.758,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35981,
    "c": 0.15676,
    "h": 307
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#53187B
secondary
#6DB03F
accent
#EA3E83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53187B

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

Preview Lab → · Contrast checker → · Palette generator →

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