#57177A#57177A

#57177A is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.158 H 309.9°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#57177A
RGBrgb(87, 23, 122)
HSLhsl(279, 68%, 28%)
HSVhsv(279, 81%, 48%)
CMYKcmyk(28.7%, 81.1%, 0%, 52.2%)
CIE-LABlab(23.82, 45.18, -42.68)
CIE-LCHlch(23.82, 62.15, 316.63°)
OKLaboklab(36.37% 0.1014 -0.1211)
OKLCHoklch(36.37% 0.158 309.9)
XYZxyz(7.7490, 4.0443, 18.7810)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57177A #3A7A17
analogous
#25177A #57177A #7A176B
triadic
#57177A #7A5717 #177A57
tetradic
#57177A #7A2517 #3A7A17 #176B7A
square
#57177A #7A2517 #3A7A17 #176B7A
split-complementary
#57177A #6B7A17 #177A25
monochromatic
#12051A #320D47 #57177A #7C21AD #9E33D9

Accessibility & contrast

On white

11.61
#57177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#57177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57177A
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57177A#FFFFFF#000000##FFFFFF
##57177A1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#523048
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #57177a;
/* rgb */ color: rgb(87, 23, 122);
/* oklch */ color: oklch(36.4% 0.158 309.9);
Tailwind
colors: {
  custom: {
    50: '#8b5ca1',
    500: '#57177a',
    950: '#000000',
  },
}
SCSS
$custom: #57177a;
$custom-light: #8b5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#57177a",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 278.788,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36367,
    "c": 0.15795,
    "h": 309.9
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#57177A
secondary
#66AF3E
accent
#EB3D7A
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57177A

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

Preview Lab → · Contrast checker → · Palette generator →

#57177A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva