#57167C#57167C

#57167C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.161 H 309.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#57167C
RGBrgb(87, 22, 124)
HSLhsl(278, 70%, 29%)
HSVhsv(278, 82%, 49%)
CMYKcmyk(29.8%, 82.3%, 0%, 51.4%)
CIE-LABlab(23.85, 46.00, -43.89)
CIE-LCHlch(23.85, 63.58, 316.35°)
OKLaboklab(36.44% 0.1018 -0.1247)
OKLCHoklch(36.44% 0.161 309.2)
XYZxyz(7.8547, 4.0554, 19.4339)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57167C #3B7C16
analogous
#24167C #57167C #7C166E
triadic
#57167C #7C5716 #167C57
tetradic
#57167C #7C2416 #3B7C16 #166E7C
square
#57167C #7C2416 #3B7C16 #166E7C
split-complementary
#57167C #6E7C16 #167C24
monochromatic
#12051A #330D48 #57167C #7B1FB0 #9D32DB

Accessibility & contrast

On white

11.60
#57167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#57167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57167C
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57167C#FFFFFF#000000##FFFFFF
##57167C1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#513049
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #57167c;
/* rgb */ color: rgb(87, 22, 124);
/* oklch */ color: oklch(36.4% 0.161 309.2);
Tailwind
colors: {
  custom: {
    50: '#8b5ca3',
    500: '#57167c',
    950: '#000000',
  },
}
SCSS
$custom: #57167c;
$custom-light: #8b5ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#57167c",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 278.235,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36444,
    "c": 0.16094,
    "h": 309.2
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#57167C
secondary
#67B13D
accent
#ED3B7C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57167C

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

Preview Lab → · Contrast checker → · Palette generator →

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