#53138E#53138E

#53138E is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.3% C 0.180 H 300.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#53138E
RGBrgb(83, 19, 142)
HSLhsl(271, 76%, 32%)
HSVhsv(271, 87%, 56%)
CMYKcmyk(41.5%, 86.6%, 0%, 44.3%)
CIE-LABlab(24.51, 50.58, -54.16)
CIE-LCHlch(24.51, 74.11, 313.04°)
OKLaboklab(37.27% 0.0923 -0.1549)
OKLCHoklch(37.27% 0.18 300.8)
XYZxyz(8.6814, 4.2577, 25.9504)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53138E #4E8E13
analogous
#16138E #53138E #8E138C
triadic
#53138E #8E5313 #138E53
tetradic
#53138E #8E1613 #4E8E13 #138C8E
square
#53138E #8E1613 #4E8E13 #138C8E
split-complementary
#53138E #8C8E13 #138E16
monochromatic
#140522 #330C58 #53138E #731AC4 #9137E4

Accessibility & contrast

On white

11.34
#53138E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#53138E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53138E
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53138E#FFFFFF#000000##FFFFFF
##53138E1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#453853
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #53138e;
/* rgb */ color: rgb(83, 19, 142);
/* oklch */ color: oklch(37.3% 0.180 300.8);
Tailwind
colors: {
  custom: {
    50: '#8a5cb0',
    500: '#53138e',
    950: '#000000',
  },
}
SCSS
$custom: #53138e;
$custom-light: #8a5cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#53138e",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 271.22,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37265,
    "c": 0.18033,
    "h": 300.8
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#53138E
secondary
#7CC23B
accent
#F33590
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0D0411
muted
#7D7980

Preview Lab

Preview with #53138E

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

Preview Lab → · Contrast checker → · Palette generator →

#53138E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva