#53137F#53137F

#53137F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.166 H 306.0°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#53137F
RGBrgb(83, 19, 127)
HSLhsl(276, 74%, 29%)
HSVhsv(276, 85%, 50%)
CMYKcmyk(34.6%, 85%, 0%, 50.2%)
CIE-LABlab(23.13, 47.05, -47.01)
CIE-LCHlch(23.13, 66.51, 315.02°)
OKLaboklab(35.89% 0.0974 -0.1339)
OKLCHoklch(35.89% 0.166 306)
XYZxyz(7.6301, 3.8371, 20.4132)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53137F #3F7F13
analogous
#1D137F #53137F #7F1375
triadic
#53137F #7F5313 #137F53
tetradic
#53137F #7F1D13 #3F7F13 #13757F
square
#53137F #7F1D13 #3F7F13 #13757F
split-complementary
#53137F #757F13 #137F1D
monochromatic
#11041B #300B4A #53137F #761BB4 #972DE0

Accessibility & contrast

On white

11.88
#53137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#53137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53137F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53137F#FFFFFF#000000##FFFFFF
##53137F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#4B314A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #53137f;
/* rgb */ color: rgb(83, 19, 127);
/* oklch */ color: oklch(35.9% 0.166 306.0);
Tailwind
colors: {
  custom: {
    50: '#895ba5',
    500: '#53137f',
    950: '#000000',
  },
}
SCSS
$custom: #53137f;
$custom-light: #895ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#53137f",
  "rgb": {
    "r": 83,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 275.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35888,
    "c": 0.1656,
    "h": 306
  },
  "luminance": 0.03837
}

Semantic roles & 50–950 ramp

primary
#53137F
secondary
#6BB439
accent
#F13783
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #53137F

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

Preview Lab → · Contrast checker → · Palette generator →

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