#53198B#53198B

#53198B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.172 H 301.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#53198B
RGBrgb(83, 25, 139)
HSLhsl(271, 70%, 32%)
HSVhsv(271, 82%, 55%)
CMYKcmyk(40.3%, 82%, 0%, 45.5%)
CIE-LABlab(24.95, 47.75, -51.57)
CIE-LCHlch(24.95, 70.28, 312.79°)
OKLaboklab(37.49% 0.0891 -0.1474)
OKLCHoklch(37.49% 0.172 301.1)
XYZxyz(8.5740, 4.3983, 24.8183)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53198B #518B19
analogous
#1A198B #53198B #8B198A
triadic
#53198B #8B5319 #198B53
tetradic
#53198B #8B1A19 #518B19 #198A8B
square
#53198B #8B1A19 #518B19 #198A8B
split-complementary
#53198B #8A8B19 #198B1A
monochromatic
#150623 #341057 #53198B #7222BF #9141DD

Accessibility & contrast

On white

11.17
#53198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#53198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53198B
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53198B#FFFFFF#000000##FFFFFF
##53198B1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #53198b;
/* rgb */ color: rgb(83, 25, 139);
/* oklch */ color: oklch(37.5% 0.172 301.1);
Tailwind
colors: {
  custom: {
    50: '#895eae',
    500: '#53198b',
    950: '#000000',
  },
}
SCSS
$custom: #53198b;
$custom-light: #895eae;
$custom-dark: #000000;
JSON
{
  "hex": "#53198b",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 270.526,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37485,
    "c": 0.1722,
    "h": 301.1
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#53198B
secondary
#7FBE42
accent
#EC3B92
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #53198B

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

Preview Lab → · Contrast checker → · Palette generator →

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