#53158F#53158F

#53158F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.180 H 300.3°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#53158F
RGBrgb(83, 21, 143)
HSLhsl(270, 74%, 32%)
HSVhsv(270, 85%, 56%)
CMYKcmyk(42%, 85.3%, 0%, 43.9%)
CIE-LABlab(24.82, 50.17, -54.27)
CIE-LCHlch(24.82, 73.90, 312.75°)
OKLaboklab(37.51% 0.0906 -0.1553)
OKLCHoklch(37.51% 0.18 300.3)
XYZxyz(8.7921, 4.3584, 26.3593)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53158F #518F15
analogous
#16158F #53158F #8F158E
triadic
#53158F #8F5315 #158F53
tetradic
#53158F #8F1615 #518F15 #158E8F
square
#53158F #8F1615 #518F15 #158E8F
split-complementary
#53158F #8E8F15 #158F16
monochromatic
#150524 #340D5A #53158F #721DC4 #913CE2

Accessibility & contrast

On white

11.22
#53158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#53158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53158F
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53158F#FFFFFF#000000##FFFFFF
##53158F1.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)
#003B92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#453954
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53158f;
/* rgb */ color: rgb(83, 21, 143);
/* oklch */ color: oklch(37.5% 0.180 300.3);
Tailwind
colors: {
  custom: {
    50: '#8a5cb1',
    500: '#53158f',
    950: '#000000',
  },
}
SCSS
$custom: #53158f;
$custom-light: #8a5cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#53158f",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 270.492,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37512,
    "c": 0.17977,
    "h": 300.3
  },
  "luminance": 0.04359
}

Semantic roles & 50–950 ramp

primary
#53158F
secondary
#7FC23E
accent
#F13792
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0D0511
muted
#7D7980

Preview Lab

Preview with #53158F

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

Preview Lab → · Contrast checker → · Palette generator →

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