#53138C#53138C

#53138C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.178 H 301.4°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#53138C
RGBrgb(83, 19, 140)
HSLhsl(272, 76%, 31%)
HSVhsv(272, 86%, 55%)
CMYKcmyk(40.7%, 86.4%, 0%, 45.1%)
CIE-LABlab(24.32, 50.11, -53.23)
CIE-LCHlch(24.32, 73.10, 313.27°)
OKLaboklab(37.08% 0.093 -0.1522)
OKLCHoklch(37.08% 0.178 301.4)
XYZxyz(8.5326, 4.1981, 25.1666)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53138C #4C8C13
analogous
#17138C #53138C #8C1388
triadic
#53138C #8C5313 #138C53
tetradic
#53138C #8C1713 #4C8C13 #13888C
square
#53138C #8C1713 #4C8C13 #13888C
split-complementary
#53138C #888C13 #138C17
monochromatic
#130420 #330C56 #53138C #731AC2 #9236E4

Accessibility & contrast

On white

11.42
#53138C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#53138C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53138C
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53138C#FFFFFF#000000##FFFFFF
##53138C1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#463752
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #53138c;
/* rgb */ color: rgb(83, 19, 140);
/* oklch */ color: oklch(37.1% 0.178 301.4);
Tailwind
colors: {
  custom: {
    50: '#8a5baf',
    500: '#53138c',
    950: '#000000',
  },
}
SCSS
$custom: #53138c;
$custom-light: #8a5baf;
$custom-dark: #000000;
JSON
{
  "hex": "#53138c",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 140
  },
  "hsl": {
    "h": 271.736,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37077,
    "c": 0.17836,
    "h": 301.4
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#53138C
secondary
#7AC03B
accent
#F3358E
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #53138C

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

Preview Lab → · Contrast checker → · Palette generator →

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