#57137C#57137C

#57137C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.164 H 309.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#57137C
RGBrgb(87, 19, 124)
HSLhsl(279, 73%, 28%)
HSVhsv(279, 85%, 49%)
CMYKcmyk(29.8%, 84.7%, 0%, 51.4%)
CIE-LABlab(23.50, 47.04, -44.47)
CIE-LCHlch(23.50, 64.74, 316.61°)
OKLaboklab(36.2% 0.1042 -0.1263)
OKLCHoklch(36.2% 0.164 309.5)
XYZxyz(7.8007, 3.9474, 19.4159)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57137C #387C13
analogous
#22137C #57137C #7C136C
triadic
#57137C #7C5713 #137C57
tetradic
#57137C #7C2213 #387C13 #136C7C
square
#57137C #7C2213 #387C13 #136C7C
split-complementary
#57137C #6C7C13 #137C22
monochromatic
#13041B #320B47 #57137C #7C1BB1 #9F2BDF

Accessibility & contrast

On white

11.74
#57137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#57137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57137C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57137C#FFFFFF#000000##FFFFFF
##57137C1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#512F49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #57137c;
/* rgb */ color: rgb(87, 19, 124);
/* oklch */ color: oklch(36.2% 0.164 309.5);
Tailwind
colors: {
  custom: {
    50: '#8b5ba3',
    500: '#57137c',
    950: '#000000',
  },
}
SCSS
$custom: #57137c;
$custom-light: #8b5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#57137c",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 278.857,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36195,
    "c": 0.16377,
    "h": 309.5
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#57137C
secondary
#64B239
accent
#F03879
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57137C

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

Preview Lab → · Contrast checker → · Palette generator →

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