#53157A#53157A

#53157A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.159 H 307.8°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#53157A
RGBrgb(83, 21, 122)
HSLhsl(277, 71%, 28%)
HSVhsv(277, 83%, 48%)
CMYKcmyk(32%, 82.8%, 0%, 52.2%)
CIE-LABlab(22.93, 45.18, -44.15)
CIE-LCHlch(22.93, 63.17, 315.66°)
OKLaboklab(35.62% 0.0973 -0.1255)
OKLCHoklch(35.62% 0.159 307.8)
XYZxyz(7.3475, 3.7806, 18.7512)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53157A #3C7A15
analogous
#21157A #53157A #7A156E
triadic
#53157A #7A5315 #157A53
tetradic
#53157A #7A2115 #3C7A15 #156E7A
square
#53157A #7A2115 #3C7A15 #156E7A
split-complementary
#53157A #6E7A15 #157A21
monochromatic
#12041A #2F0C46 #53157A #771EAE #982EDB

Accessibility & contrast

On white

11.96
#53157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#53157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53157A
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53157A#FFFFFF#000000##FFFFFF
##53157A1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#4C2F48
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #53157a;
/* rgb */ color: rgb(83, 21, 122);
/* oklch */ color: oklch(35.6% 0.159 307.8);
Tailwind
colors: {
  custom: {
    50: '#885ba1',
    500: '#53157a',
    950: '#000000',
  },
}
SCSS
$custom: #53157a;
$custom-light: #885ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#53157a",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 276.832,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35618,
    "c": 0.15883,
    "h": 307.8
  },
  "luminance": 0.0378
}

Semantic roles & 50–950 ramp

primary
#53157A
secondary
#68AF3B
accent
#ED3A80
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53157A

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

Preview Lab → · Contrast checker → · Palette generator →

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