#53157B#53157B

#53157B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.160 H 307.4°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#53157B
RGBrgb(83, 21, 123)
HSLhsl(276, 71%, 28%)
HSVhsv(276, 83%, 48%)
CMYKcmyk(32.5%, 82.9%, 0%, 51.8%)
CIE-LABlab(23.02, 45.42, -44.65)
CIE-LCHlch(23.02, 63.69, 315.49°)
OKLaboklab(35.7% 0.097 -0.127)
OKLCHoklch(35.7% 0.16 307.4)
XYZxyz(7.4098, 3.8055, 19.0792)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53157B #3D7B15
analogous
#20157B #53157B #7B1570
triadic
#53157B #7B5315 #157B53
tetradic
#53157B #7B2015 #3D7B15 #15707B
square
#53157B #7B2015 #3D7B15 #15707B
split-complementary
#53157B #707B15 #157B20
monochromatic
#12041A #300C47 #53157B #761EAF #982FDB

Accessibility & contrast

On white

11.93
#53157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #53157B
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53157B#FFFFFF#000000##FFFFFF
##53157B1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#4C3049
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #53157b;
/* rgb */ color: rgb(83, 21, 123);
/* oklch */ color: oklch(35.7% 0.160 307.4);
Tailwind
colors: {
  custom: {
    50: '#885ba2',
    500: '#53157b',
    950: '#000000',
  },
}
SCSS
$custom: #53157b;
$custom-light: #885ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#53157b",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 276.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35704,
    "c": 0.15982,
    "h": 307.4
  },
  "luminance": 0.03805
}

Semantic roles & 50–950 ramp

primary
#53157B
secondary
#69B03B
accent
#EE3A81
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53157B

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

Preview Lab → · Contrast checker → · Palette generator →

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