#57177B#57177B

#57177B is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.159 H 309.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#57177B
RGBrgb(87, 23, 123)
HSLhsl(278, 68%, 29%)
HSVhsv(278, 81%, 48%)
CMYKcmyk(29.3%, 81.3%, 0%, 51.8%)
CIE-LABlab(23.90, 45.41, -43.18)
CIE-LCHlch(23.90, 62.66, 316.44°)
OKLaboklab(36.45% 0.1012 -0.1226)
OKLCHoklch(36.45% 0.159 309.5)
XYZxyz(7.8113, 4.0692, 19.1090)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57177B #3B7B17
analogous
#25177B #57177B #7B176D
triadic
#57177B #7B5717 #177B57
tetradic
#57177B #7B2517 #3B7B17 #176D7B
square
#57177B #7B2517 #3B7B17 #176D7B
split-complementary
#57177B #6D7B17 #177B25
monochromatic
#12051A #330D47 #57177B #7B21AF #9D33D9

Accessibility & contrast

On white

11.58
#57177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57177B
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57177B#FFFFFF#000000##FFFFFF
##57177B1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#523049
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #57177b;
/* rgb */ color: rgb(87, 23, 123);
/* oklch */ color: oklch(36.4% 0.159 309.5);
Tailwind
colors: {
  custom: {
    50: '#8b5da2',
    500: '#57177b',
    950: '#000000',
  },
}
SCSS
$custom: #57177b;
$custom-light: #8b5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#57177b",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 278.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3645,
    "c": 0.15894,
    "h": 309.5
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#57177B
secondary
#67B03E
accent
#EB3C7B
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57177B

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

Preview Lab → · Contrast checker → · Palette generator →

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