#57167D#57167D

#57167D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.162 H 308.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#57167D
RGBrgb(87, 22, 125)
HSLhsl(278, 70%, 29%)
HSVhsv(278, 82%, 49%)
CMYKcmyk(30.4%, 82.4%, 0%, 51%)
CIE-LABlab(23.94, 46.23, -44.39)
CIE-LCHlch(23.94, 64.09, 316.16°)
OKLaboklab(36.53% 0.1015 -0.1261)
OKLCHoklch(36.53% 0.162 308.8)
XYZxyz(7.9183, 4.0809, 19.7686)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57167D #3C7D16
analogous
#24167D #57167D #7D1670
triadic
#57167D #7D5716 #167D57
tetradic
#57167D #7D2416 #3C7D16 #16707D
square
#57167D #7D2416 #3C7D16 #16707D
split-complementary
#57167D #707D16 #167D24
monochromatic
#12051A #330D49 #57167D #7B1FB1 #9D32DB

Accessibility & contrast

On white

11.56
#57167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57167D
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57167D#FFFFFF#000000##FFFFFF
##57167D1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.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: #57167d;
/* rgb */ color: rgb(87, 22, 125);
/* oklch */ color: oklch(36.5% 0.162 308.8);
Tailwind
colors: {
  custom: {
    50: '#8b5ca3',
    500: '#57167d',
    950: '#000000',
  },
}
SCSS
$custom: #57167d;
$custom-light: #8b5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#57167d",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 277.864,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36528,
    "c": 0.16192,
    "h": 308.8
  },
  "luminance": 0.04081
}

Semantic roles & 50–950 ramp

primary
#57167D
secondary
#68B23D
accent
#ED3B7D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57167D

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

Preview Lab → · Contrast checker → · Palette generator →

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