#53158C#53158C

#53158C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.177 H 301.2°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#53158C
RGBrgb(83, 21, 140)
HSLhsl(271, 74%, 32%)
HSVhsv(271, 85%, 55%)
CMYKcmyk(40.7%, 85%, 0%, 45.1%)
CIE-LABlab(24.54, 49.45, -52.86)
CIE-LCHlch(24.54, 72.38, 313.09°)
OKLaboklab(37.23% 0.0917 -0.1511)
OKLCHoklch(37.23% 0.177 301.2)
XYZxyz(8.5679, 4.2687, 25.1784)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53158C #4E8C15
analogous
#18158C #53158C #8C158A
triadic
#53158C #8C5315 #158C53
tetradic
#53158C #8C1815 #4E8C15 #158A8C
square
#53158C #8C1815 #4E8C15 #158A8C
split-complementary
#53158C #8A8C15 #158C18
monochromatic
#140522 #330D57 #53158C #731DC1 #913AE1

Accessibility & contrast

On white

11.33
#53158C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#53158C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53158C
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53158C#FFFFFF#000000##FFFFFF
##53158C1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#463852
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #53158c;
/* rgb */ color: rgb(83, 21, 140);
/* oklch */ color: oklch(37.2% 0.177 301.2);
Tailwind
colors: {
  custom: {
    50: '#8a5caf',
    500: '#53158c',
    950: '#000000',
  },
}
SCSS
$custom: #53158c;
$custom-light: #8a5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#53158c",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 140
  },
  "hsl": {
    "h": 271.261,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37232,
    "c": 0.17677,
    "h": 301.2
  },
  "luminance": 0.04269
}

Semantic roles & 50–950 ramp

primary
#53158C
secondary
#7CC03D
accent
#F13790
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #53158C

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

Preview Lab → · Contrast checker → · Palette generator →

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