#57137D#57137D

#57137D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.165 H 309.1°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#57137D
RGBrgb(87, 19, 125)
HSLhsl(278, 74%, 28%)
HSVhsv(278, 85%, 49%)
CMYKcmyk(30.4%, 84.8%, 0%, 51%)
CIE-LABlab(23.58, 47.27, -44.97)
CIE-LCHlch(23.58, 65.24, 316.43°)
OKLaboklab(36.28% 0.1039 -0.1278)
OKLCHoklch(36.28% 0.165 309.1)
XYZxyz(7.8643, 3.9728, 19.7506)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57137D #397D13
analogous
#22137D #57137D #7D136E
triadic
#57137D #7D5713 #137D57
tetradic
#57137D #7D2213 #397D13 #136E7D
square
#57137D #7D2213 #397D13 #136E7D
split-complementary
#57137D #6E7D13 #137D22
monochromatic
#12041B #320B48 #57137D #7C1BB2 #9F2CDF

Accessibility & contrast

On white

11.70
#57137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57137D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57137D#FFFFFF#000000##FFFFFF
##57137D1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#512F49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #57137d;
/* rgb */ color: rgb(87, 19, 125);
/* oklch */ color: oklch(36.3% 0.165 309.1);
Tailwind
colors: {
  custom: {
    50: '#8b5ba3',
    500: '#57137d',
    950: '#000000',
  },
}
SCSS
$custom: #57137d;
$custom-light: #8b5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#57137d",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 278.491,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3628,
    "c": 0.16473,
    "h": 309.1
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#57137D
secondary
#65B339
accent
#F0387A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57137D

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

Preview Lab → · Contrast checker → · Palette generator →

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