#57117D#57117D

#57117D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.166 H 309.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#57117D
RGBrgb(87, 17, 125)
HSLhsl(279, 76%, 28%)
HSVhsv(279, 86%, 49%)
CMYKcmyk(30.4%, 86.4%, 0%, 51%)
CIE-LABlab(23.36, 47.90, -45.32)
CIE-LCHlch(23.36, 65.94, 316.58°)
OKLaboklab(36.13% 0.1054 -0.1288)
OKLCHoklch(36.13% 0.166 309.3)
XYZxyz(7.8318, 3.9080, 19.7398)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57117D #377D11
analogous
#21117D #57117D #7D116D
triadic
#57117D #7D5711 #117D57
tetradic
#57117D #7D2111 #377D11 #116D7D
square
#57117D #7D2111 #377D11 #116D7D
split-complementary
#57117D #6D7D11 #117D21
monochromatic
#13041B #320A47 #57117D #7C18B3 #A027E2

Accessibility & contrast

On white

11.79
#57117D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#57117D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57117D
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57117D#FFFFFF#000000##FFFFFF
##57117D1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57117d;
/* rgb */ color: rgb(87, 17, 125);
/* oklch */ color: oklch(36.1% 0.166 309.3);
Tailwind
colors: {
  custom: {
    50: '#8b5aa3',
    500: '#57117d',
    950: '#000000',
  },
}
SCSS
$custom: #57117d;
$custom-light: #8b5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#57117d",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 125
  },
  "hsl": {
    "h": 278.889,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3613,
    "c": 0.16644,
    "h": 309.3
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#57117D
secondary
#62B337
accent
#F33578
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57117D

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

Preview Lab → · Contrast checker → · Palette generator →

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