#53198E#53198E

#53198E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.175 H 300.2°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#53198E
RGBrgb(83, 25, 142)
HSLhsl(270, 70%, 33%)
HSVhsv(270, 82%, 56%)
CMYKcmyk(41.5%, 82.4%, 0%, 44.3%)
CIE-LABlab(25.22, 48.49, -52.99)
CIE-LCHlch(25.22, 71.83, 312.46°)
OKLaboklab(37.76% 0.0881 -0.1516)
OKLCHoklch(37.76% 0.175 300.2)
XYZxyz(8.7962, 4.4872, 25.9886)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53198E #548E19
analogous
#19198E #53198E #8E198E
triadic
#53198E #8E5319 #198E53
tetradic
#53198E #8E1919 #548E19 #198E8E
square
#53198E #8E1919 #548E19 #198E8E
split-complementary
#53198E #8E8E19 #198E19
monochromatic
#160726 #35105A #53198E #7122C2 #9043DE

Accessibility & contrast

On white

11.07
#53198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#53198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53198E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53198E#FFFFFF#000000##FFFFFF
##53198E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#453A54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #53198e;
/* rgb */ color: rgb(83, 25, 142);
/* oklch */ color: oklch(37.8% 0.175 300.2);
Tailwind
colors: {
  custom: {
    50: '#8a5eb0',
    500: '#53198e',
    950: '#000000',
  },
}
SCSS
$custom: #53198e;
$custom-light: #8a5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#53198e",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 269.744,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37759,
    "c": 0.17531,
    "h": 300.2
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

primary
#53198E
secondary
#82BF44
accent
#ED3B95
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #53198E

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

Preview Lab → · Contrast checker → · Palette generator →

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