#53188B#53188B

#53188B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.173 H 301.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#53188B
RGBrgb(83, 24, 139)
HSLhsl(271, 71%, 32%)
HSVhsv(271, 83%, 55%)
CMYKcmyk(40.3%, 82.7%, 0%, 45.5%)
CIE-LABlab(24.82, 48.13, -51.79)
CIE-LCHlch(24.82, 70.70, 312.90°)
OKLaboklab(37.39% 0.0898 -0.148)
OKLCHoklch(37.39% 0.173 301.3)
XYZxyz(8.5530, 4.3563, 24.8113)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53188B #508B18
analogous
#1A188B #53188B #8B188A
triadic
#53188B #8B5318 #188B53
tetradic
#53188B #8B1A18 #508B18 #188A8B
square
#53188B #8B1A18 #508B18 #188A8B
split-complementary
#53188B #8A8B18 #188B1A
monochromatic
#150623 #340F57 #53188B #7221BF #913FDE

Accessibility & contrast

On white

11.22
#53188B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#53188B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53188B
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53188B#FFFFFF#000000##FFFFFF
##53188B1.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#463852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53188b;
/* rgb */ color: rgb(83, 24, 139);
/* oklch */ color: oklch(37.4% 0.173 301.3);
Tailwind
colors: {
  custom: {
    50: '#8a5dae',
    500: '#53188b',
    950: '#000000',
  },
}
SCSS
$custom: #53188b;
$custom-light: #8a5dae;
$custom-dark: #000000;
JSON
{
  "hex": "#53188b",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 270.783,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37394,
    "c": 0.17314,
    "h": 301.3
  },
  "luminance": 0.04356
}

Semantic roles & 50–950 ramp

primary
#53188B
secondary
#7EBE40
accent
#ED3A92
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #53188B

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

Preview Lab → · Contrast checker → · Palette generator →

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