#53188C#53188C

#53188C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.174 H 300.9°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#53188C
RGBrgb(83, 24, 140)
HSLhsl(271, 71%, 32%)
HSVhsv(271, 83%, 55%)
CMYKcmyk(40.7%, 82.9%, 0%, 45.1%)
CIE-LABlab(24.91, 48.37, -52.26)
CIE-LCHlch(24.91, 71.21, 312.79°)
OKLaboklab(37.49% 0.0895 -0.1494)
OKLCHoklch(37.49% 0.174 300.9)
XYZxyz(8.6264, 4.3856, 25.1979)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53188C #518C18
analogous
#19188C #53188C #8C188B
triadic
#53188C #8C5318 #188C53
tetradic
#53188C #8C1918 #518C18 #188B8C
square
#53188C #8C1918 #518C18 #188B8C
split-complementary
#53188C #8B8C18 #188C19
monochromatic
#150624 #340F58 #53188C #7221C0 #9140DE

Accessibility & contrast

On white

11.19
#53188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#53188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53188C
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53188C#FFFFFF#000000##FFFFFF
##53188C1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#463953
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53188c;
/* rgb */ color: rgb(83, 24, 140);
/* oklch */ color: oklch(37.5% 0.174 300.9);
Tailwind
colors: {
  custom: {
    50: '#8a5daf',
    500: '#53188c',
    950: '#000000',
  },
}
SCSS
$custom: #53188c;
$custom-light: #8a5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#53188c",
  "rgb": {
    "r": 83,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 270.517,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37486,
    "c": 0.17416,
    "h": 300.9
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#53188C
secondary
#7FBF41
accent
#ED3A92
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #53188C

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

Preview Lab → · Contrast checker → · Palette generator →

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