#57167F#57167F

#57167F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.164 H 308.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#57167F
RGBrgb(87, 22, 127)
HSLhsl(277, 70%, 29%)
HSVhsv(277, 83%, 50%)
CMYKcmyk(31.5%, 82.7%, 0%, 50.2%)
CIE-LABlab(24.10, 46.69, -45.39)
CIE-LCHlch(24.10, 65.11, 315.81°)
OKLaboklab(36.7% 0.101 -0.129)
OKLCHoklch(36.7% 0.164 308)
XYZxyz(8.0473, 4.1325, 20.4483)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57167F #3E7F16
analogous
#23167F #57167F #7F1673
triadic
#57167F #7F5716 #167F57
tetradic
#57167F #7F2316 #3E7F16 #16737F
square
#57167F #7F2316 #3E7F16 #16737F
split-complementary
#57167F #737F16 #167F23
monochromatic
#12051A #330D4B #57167F #7B1FB3 #9C34DC

Accessibility & contrast

On white

11.50
#57167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#57167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57167F
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57167F#FFFFFF#000000##FFFFFF
##57167F1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#50324B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #57167f;
/* rgb */ color: rgb(87, 22, 127);
/* oklch */ color: oklch(36.7% 0.164 308.0);
Tailwind
colors: {
  custom: {
    50: '#8b5ca5',
    500: '#57167f',
    950: '#000000',
  },
}
SCSS
$custom: #57167f;
$custom-light: #8b5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#57167f",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 277.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36698,
    "c": 0.16387,
    "h": 308
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#57167F
secondary
#6AB43D
accent
#ED3B7F
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57167F

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

Preview Lab → · Contrast checker → · Palette generator →

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