#57117C#57117C

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

Color values

HEX#57117C
RGBrgb(87, 17, 124)
HSLhsl(279, 76%, 28%)
HSVhsv(279, 86%, 49%)
CMYKcmyk(29.8%, 86.3%, 0%, 51.4%)
CIE-LABlab(23.28, 47.68, -44.83)
CIE-LCHlch(23.28, 65.44, 316.77°)
OKLaboklab(36.04% 0.1057 -0.1274)
OKLCHoklch(36.04% 0.166 309.7)
XYZxyz(7.7683, 3.8825, 19.4051)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57117C #367C11
analogous
#21117C #57117C #7C116C
triadic
#57117C #7C5711 #117C57
tetradic
#57117C #7C2111 #367C11 #116C7C
square
#57117C #7C2111 #367C11 #116C7C
split-complementary
#57117C #6C7C11 #117C21
monochromatic
#13041B #310A46 #57117C #7D18B2 #A126E1

Accessibility & contrast

On white

11.82
#57117C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57117C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57117C#FFFFFF#000000##FFFFFF
##57117C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#512E48
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #57117c;
/* rgb */ color: rgb(87, 17, 124);
/* oklch */ color: oklch(36.0% 0.166 309.7);
Tailwind
colors: {
  custom: {
    50: '#8b5aa3',
    500: '#57117c',
    950: '#000000',
  },
}
SCSS
$custom: #57117c;
$custom-light: #8b5aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#57117c",
  "rgb": {
    "r": 87,
    "g": 17,
    "b": 124
  },
  "hsl": {
    "h": 279.252,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36044,
    "c": 0.1655,
    "h": 309.7
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#57117C
secondary
#61B237
accent
#F23577
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57117C

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

Preview Lab → · Contrast checker → · Palette generator →

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