#53157D#53157D

#53157D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.162 H 306.6°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#53157D
RGBrgb(83, 21, 125)
HSLhsl(276, 71%, 29%)
HSVhsv(276, 83%, 49%)
CMYKcmyk(33.6%, 83.2%, 0%, 51%)
CIE-LABlab(23.19, 45.88, -45.64)
CIE-LCHlch(23.19, 64.71, 315.15°)
OKLaboklab(35.88% 0.0964 -0.1299)
OKLCHoklch(35.88% 0.162 306.6)
XYZxyz(7.5363, 3.8561, 19.7453)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53157D #3F7D15
analogous
#1F157D #53157D #7D1573
triadic
#53157D #7D5315 #157D53
tetradic
#53157D #7D1F15 #3F7D15 #15737D
square
#53157D #7D1F15 #3F7D15 #15737D
split-complementary
#53157D #737D15 #157D1F
monochromatic
#11041A #300C49 #53157D #761EB1 #9730DC

Accessibility & contrast

On white

11.86
#53157D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53157D
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53157D#FFFFFF#000000##FFFFFF
##53157D1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00387B
Tritanopia (blue-blind)
#4C314A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #53157d;
/* rgb */ color: rgb(83, 21, 125);
/* oklch */ color: oklch(35.9% 0.162 306.6);
Tailwind
colors: {
  custom: {
    50: '#885ba3',
    500: '#53157d',
    950: '#000000',
  },
}
SCSS
$custom: #53157d;
$custom-light: #885ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#53157d",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 125
  },
  "hsl": {
    "h": 275.769,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.1618,
    "h": 306.6
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#53157D
secondary
#6BB23C
accent
#EE3A83
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53157D

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

Preview Lab → · Contrast checker → · Palette generator →

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