#53198C#53198C

#53198C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.173 H 300.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#53198C
RGBrgb(83, 25, 140)
HSLhsl(270, 70%, 32%)
HSVhsv(270, 82%, 55%)
CMYKcmyk(40.7%, 82.1%, 0%, 45.1%)
CIE-LABlab(25.04, 48.00, -52.05)
CIE-LCHlch(25.04, 70.80, 312.68°)
OKLaboklab(37.58% 0.0887 -0.1488)
OKLCHoklch(37.58% 0.173 300.8)
XYZxyz(8.6474, 4.4276, 25.2049)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53198C #528C19
analogous
#1A198C #53198C #8C198C
triadic
#53198C #8C5319 #198C53
tetradic
#53198C #8C1A19 #528C19 #198C8C
square
#53198C #8C1A19 #528C19 #198C8C
split-complementary
#53198C #8C8C19 #198C1A
monochromatic
#150624 #341058 #53198C #7222C0 #9042DD

Accessibility & contrast

On white

11.14
#53198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#53198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53198C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53198C#FFFFFF#000000##FFFFFF
##53198C1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#463953
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #53198c;
/* rgb */ color: rgb(83, 25, 140);
/* oklch */ color: oklch(37.6% 0.173 300.8);
Tailwind
colors: {
  custom: {
    50: '#8a5eaf',
    500: '#53198c',
    950: '#000000',
  },
}
SCSS
$custom: #53198c;
$custom-light: #8a5eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#53198c",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 270.261,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37576,
    "c": 0.17323,
    "h": 300.8
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#53198C
secondary
#80BE43
accent
#ED3B93
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #53198C

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

Preview Lab → · Contrast checker → · Palette generator →

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