#57137F#57137F

#57137F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.167 H 308.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#57137F
RGBrgb(87, 19, 127)
HSLhsl(278, 74%, 29%)
HSVhsv(278, 85%, 50%)
CMYKcmyk(31.5%, 85%, 0%, 50.2%)
CIE-LABlab(23.75, 47.72, -45.96)
CIE-LCHlch(23.75, 66.25, 316.07°)
OKLaboklab(36.45% 0.1034 -0.1307)
OKLCHoklch(36.45% 0.167 308.3)
XYZxyz(7.9933, 4.0244, 20.4303)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57137F #3B7F13
analogous
#21137F #57137F #7F1371
triadic
#57137F #7F5713 #137F57
tetradic
#57137F #7F2113 #3B7F13 #13717F
square
#57137F #7F2113 #3B7F13 #13717F
split-complementary
#57137F #717F13 #137F21
monochromatic
#12041B #330B4A #57137F #7B1BB4 #9D2DE0

Accessibility & contrast

On white

11.64
#57137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57137F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57137F#FFFFFF#000000##FFFFFF
##57137F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#50304B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #57137f;
/* rgb */ color: rgb(87, 19, 127);
/* oklch */ color: oklch(36.5% 0.167 308.3);
Tailwind
colors: {
  custom: {
    50: '#8b5ba5',
    500: '#57137f',
    950: '#000000',
  },
}
SCSS
$custom: #57137f;
$custom-light: #8b5ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#57137f",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 277.778,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36452,
    "c": 0.16663,
    "h": 308.3
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#57137F
secondary
#67B439
accent
#F1377C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57137F

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

Preview Lab → · Contrast checker → · Palette generator →

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