#57137E#57137E

#57137E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.166 H 308.7°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#57137E
RGBrgb(87, 19, 126)
HSLhsl(278, 74%, 28%)
HSVhsv(278, 85%, 49%)
CMYKcmyk(31%, 84.9%, 0%, 50.6%)
CIE-LABlab(23.67, 47.49, -45.47)
CIE-LCHlch(23.67, 65.75, 316.25°)
OKLaboklab(36.37% 0.1036 -0.1293)
OKLCHoklch(36.37% 0.166 308.7)
XYZxyz(7.9285, 3.9985, 20.0887)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57137E #3A7E13
analogous
#21137E #57137E #7E136F
triadic
#57137E #7E5713 #137E57
tetradic
#57137E #7E2113 #3A7E13 #136F7E
square
#57137E #7E2113 #3A7E13 #136F7E
split-complementary
#57137E #6F7E13 #137E21
monochromatic
#12041B #320B49 #57137E #7C1BB3 #9E2CDF

Accessibility & contrast

On white

11.67
#57137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#57137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57137E
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57137E#FFFFFF#000000##FFFFFF
##57137E1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#51304A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #57137e;
/* rgb */ color: rgb(87, 19, 126);
/* oklch */ color: oklch(36.4% 0.166 308.7);
Tailwind
colors: {
  custom: {
    50: '#8b5ba4',
    500: '#57137e',
    950: '#000000',
  },
}
SCSS
$custom: #57137e;
$custom-light: #8b5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#57137e",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 278.131,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36366,
    "c": 0.16567,
    "h": 308.7
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#57137E
secondary
#66B439
accent
#F0377B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57137E

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

Preview Lab → · Contrast checker → · Palette generator →

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