#53197F#53197F

#53197F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.160 H 305.4°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#53197F
RGBrgb(83, 25, 127)
HSLhsl(274, 67%, 30%)
HSVhsv(274, 80%, 50%)
CMYKcmyk(34.6%, 80.3%, 0%, 50.2%)
CIE-LABlab(23.89, 44.83, -45.76)
CIE-LCHlch(23.89, 64.06, 314.41°)
OKLaboklab(36.42% 0.0925 -0.1303)
OKLCHoklch(36.42% 0.16 305.4)
XYZxyz(7.7448, 4.0666, 20.4515)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53197F #457F19
analogous
#20197F #53197F #7F1978
triadic
#53197F #7F5319 #197F53
tetradic
#53197F #7F2019 #457F19 #19787F
square
#53197F #7F2019 #457F19 #19787F
split-complementary
#53197F #787F19 #197F20
monochromatic
#11051A #320F4C #53197F #7423B2 #943AD8

Accessibility & contrast

On white

11.58
#53197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#53197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53197F
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53197F#FFFFFF#000000##FFFFFF
##53197F1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#4B334C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #53197f;
/* rgb */ color: rgb(83, 25, 127);
/* oklch */ color: oklch(36.4% 0.160 305.4);
Tailwind
colors: {
  custom: {
    50: '#885da5',
    500: '#53197f',
    950: '#000000',
  },
}
SCSS
$custom: #53197f;
$custom-light: #885da5;
$custom-dark: #000000;
JSON
{
  "hex": "#53197f",
  "rgb": {
    "r": 83,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 274.118,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36421,
    "c": 0.15981,
    "h": 305.4
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#53197F
secondary
#72B341
accent
#EA3E88
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #53197F

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

Preview Lab → · Contrast checker → · Palette generator →

#53197F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva