#53198A#53198A

#53198A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.171 H 301.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#53198A
RGBrgb(83, 25, 138)
HSLhsl(271, 69%, 32%)
HSVhsv(271, 82%, 54%)
CMYKcmyk(39.9%, 81.9%, 0%, 45.9%)
CIE-LABlab(24.86, 47.50, -51.10)
CIE-LCHlch(24.86, 69.77, 312.91°)
OKLaboklab(37.39% 0.0894 -0.146)
OKLCHoklch(37.39% 0.171 301.5)
XYZxyz(8.5012, 4.3692, 24.4353)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53198A #508A19
analogous
#1A198A #53198A #8A1989
triadic
#53198A #8A5319 #198A53
tetradic
#53198A #8A1A19 #508A19 #19898A
square
#53198A #8A1A19 #508A19 #19898A
split-complementary
#53198A #898A19 #198A1A
monochromatic
#150622 #341056 #53198A #7222BE #9141DD

Accessibility & contrast

On white

11.21
#53198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#53198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53198A
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53198A#FFFFFF#000000##FFFFFF
##53198A1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#473852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53198a;
/* rgb */ color: rgb(83, 25, 138);
/* oklch */ color: oklch(37.4% 0.171 301.5);
Tailwind
colors: {
  custom: {
    50: '#895ead',
    500: '#53198a',
    950: '#000000',
  },
}
SCSS
$custom: #53198a;
$custom-light: #895ead;
$custom-dark: #000000;
JSON
{
  "hex": "#53198a",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 270.796,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37394,
    "c": 0.17118,
    "h": 301.5
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

primary
#53198A
secondary
#7EBD42
accent
#EC3C92
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #53198A

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

Preview Lab → · Contrast checker → · Palette generator →

#53198A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva