#53157C#53157C

#53157C is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.161 H 307.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#53157C
RGBrgb(83, 21, 124)
HSLhsl(276, 71%, 28%)
HSVhsv(276, 83%, 49%)
CMYKcmyk(33.1%, 83.1%, 0%, 51.4%)
CIE-LABlab(23.10, 45.65, -45.14)
CIE-LCHlch(23.10, 64.20, 315.32°)
OKLaboklab(35.79% 0.0967 -0.1285)
OKLCHoklch(35.79% 0.161 307)
XYZxyz(7.4727, 3.8307, 19.4106)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53157C #3E7C15
analogous
#20157C #53157C #7C1571
triadic
#53157C #7C5315 #157C53
tetradic
#53157C #7C2015 #3E7C15 #15717C
square
#53157C #7C2015 #3E7C15 #15717C
split-complementary
#53157C #717C15 #157C20
monochromatic
#12041A #300C48 #53157C #761EB0 #9730DC

Accessibility & contrast

On white

11.89
#53157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#53157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53157C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53157C#FFFFFF#000000##FFFFFF
##53157C1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#4C3049
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #53157c;
/* rgb */ color: rgb(83, 21, 124);
/* oklch */ color: oklch(35.8% 0.161 307.0);
Tailwind
colors: {
  custom: {
    50: '#885ba3',
    500: '#53157c',
    950: '#000000',
  },
}
SCSS
$custom: #53157c;
$custom-light: #885ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#53157c",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 276.117,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35791,
    "c": 0.16081,
    "h": 307
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#53157C
secondary
#6AB13C
accent
#EE3A82
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53157C

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

Preview Lab → · Contrast checker → · Palette generator →

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