#57137B#57137B

#57137B is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.163 H 309.9°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#57137B
RGBrgb(87, 19, 123)
HSLhsl(279, 73%, 28%)
HSVhsv(279, 85%, 48%)
CMYKcmyk(29.3%, 84.6%, 0%, 51.8%)
CIE-LABlab(23.41, 46.82, -43.97)
CIE-LCHlch(23.41, 64.23, 316.80°)
OKLaboklab(36.11% 0.1045 -0.1249)
OKLCHoklch(36.11% 0.163 309.9)
XYZxyz(7.7378, 3.9222, 19.0845)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57137B #377B13
analogous
#23137B #57137B #7B136B
triadic
#57137B #7B5713 #137B57
tetradic
#57137B #7B2313 #377B13 #136B7B
square
#57137B #7B2313 #377B13 #136B7B
split-complementary
#57137B #6B7B13 #137B23
monochromatic
#13041B #320B46 #57137B #7C1BB0 #A02ADE

Accessibility & contrast

On white

11.77
#57137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#57137B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57137B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57137B#FFFFFF#000000##FFFFFF
##57137B1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#522E48
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #57137b;
/* rgb */ color: rgb(87, 19, 123);
/* oklch */ color: oklch(36.1% 0.163 309.9);
Tailwind
colors: {
  custom: {
    50: '#8b5ba2',
    500: '#57137b',
    950: '#000000',
  },
}
SCSS
$custom: #57137b;
$custom-light: #8b5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#57137b",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 279.231,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3611,
    "c": 0.16282,
    "h": 309.9
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#57137B
secondary
#62B139
accent
#F03878
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57137B

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

Preview Lab → · Contrast checker → · Palette generator →

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