#57177D#57177D

#57177D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.161 H 308.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#57177D
RGBrgb(87, 23, 125)
HSLhsl(278, 69%, 29%)
HSVhsv(278, 82%, 49%)
CMYKcmyk(30.4%, 81.6%, 0%, 51%)
CIE-LABlab(24.06, 45.87, -44.19)
CIE-LCHlch(24.06, 63.69, 316.07°)
OKLaboklab(36.62% 0.1007 -0.1255)
OKLCHoklch(36.62% 0.161 308.7)
XYZxyz(7.9378, 4.1198, 19.7751)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57177D #3D7D17
analogous
#24177D #57177D #7D1770
triadic
#57177D #7D5717 #177D57
tetradic
#57177D #7D2417 #3D7D17 #17707D
square
#57177D #7D2417 #3D7D17 #17707D
split-complementary
#57177D #707D17 #177D24
monochromatic
#12051A #330D49 #57177D #7B21B1 #9C35DA

Accessibility & contrast

On white

11.51
#57177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#57177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57177D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57177D#FFFFFF#000000##FFFFFF
##57177D1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#51314A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #57177d;
/* rgb */ color: rgb(87, 23, 125);
/* oklch */ color: oklch(36.6% 0.161 308.7);
Tailwind
colors: {
  custom: {
    50: '#8b5da3',
    500: '#57177d',
    950: '#000000',
  },
}
SCSS
$custom: #57177d;
$custom-light: #8b5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#57177d",
  "rgb": {
    "r": 87,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 277.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36617,
    "c": 0.16092,
    "h": 308.7
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#57177D
secondary
#69B23E
accent
#EC3C7E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57177D

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

Preview Lab → · Contrast checker → · Palette generator →

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