#53157F#53157F

#53157F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.164 H 305.8°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#53157F
RGBrgb(83, 21, 127)
HSLhsl(275, 72%, 29%)
HSVhsv(275, 83%, 50%)
CMYKcmyk(34.6%, 83.5%, 0%, 50.2%)
CIE-LABlab(23.36, 46.35, -46.62)
CIE-LCHlch(23.36, 65.74, 314.83°)
OKLaboklab(36.05% 0.0959 -0.1328)
OKLCHoklch(36.05% 0.164 305.8)
XYZxyz(7.6654, 3.9077, 20.4250)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53157F #417F15
analogous
#1E157F #53157F #7F1576
triadic
#53157F #7F5315 #157F53
tetradic
#53157F #7F1E15 #417F15 #15767F
square
#53157F #7F1E15 #417F15 #15767F
split-complementary
#53157F #767F15 #157F1E
monochromatic
#11041A #310C4A #53157F #751EB4 #9631DD

Accessibility & contrast

On white

11.79
#53157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#53157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53157F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53157F#FFFFFF#000000##FFFFFF
##53157F1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#4B324B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #53157f;
/* rgb */ color: rgb(83, 21, 127);
/* oklch */ color: oklch(36.1% 0.164 305.8);
Tailwind
colors: {
  custom: {
    50: '#885ba5',
    500: '#53157f',
    950: '#000000',
  },
}
SCSS
$custom: #53157f;
$custom-light: #885ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#53157f",
  "rgb": {
    "r": 83,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 275.094,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36053,
    "c": 0.16379,
    "h": 305.8
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#53157F
secondary
#6EB43C
accent
#EE3985
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53157F

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

Preview Lab → · Contrast checker → · Palette generator →

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