#53118E#53118E

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

Color values

HEX#53118E
RGBrgb(83, 17, 142)
HSLhsl(272, 79%, 31%)
HSVhsv(272, 88%, 56%)
CMYKcmyk(41.5%, 88%, 0%, 44.3%)
CIE-LABlab(24.30, 51.19, -54.50)
CIE-LCHlch(24.30, 74.77, 313.21°)
OKLaboklab(37.12% 0.0935 -0.1559)
OKLCHoklch(37.12% 0.182 300.9)
XYZxyz(8.6490, 4.1928, 25.9396)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53118E #4C8E11
analogous
#14118E #53118E #8E118A
triadic
#53118E #8E5311 #118E53
tetradic
#53118E #8E1411 #4C8E11 #118A8E
square
#53118E #8E1411 #4C8E11 #118A8E
split-complementary
#53118E #8A8E11 #118E14
monochromatic
#130421 #330A57 #53118E #7318C5 #9233E7

Accessibility & contrast

On white

11.42
#53118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#53118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53118E
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53118E#FFFFFF#000000##FFFFFF
##53118E1.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)
#003991
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#453753
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #53118e;
/* rgb */ color: rgb(83, 17, 142);
/* oklch */ color: oklch(37.1% 0.182 300.9);
Tailwind
colors: {
  custom: {
    50: '#8a5bb0',
    500: '#53118e',
    950: '#000000',
  },
}
SCSS
$custom: #53118e;
$custom-light: #8a5bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#53118e",
  "rgb": {
    "r": 83,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 271.68,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37123,
    "c": 0.1818,
    "h": 300.9
  },
  "luminance": 0.04193
}

Semantic roles & 50–950 ramp

primary
#53118E
secondary
#7AC238
accent
#F5338E
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0D0411
muted
#7D7980

Preview Lab

Preview with #53118E

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

Preview Lab → · Contrast checker → · Palette generator →

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