#57168E#57168E

#57168E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.179 H 302.7°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#57168E
RGBrgb(87, 22, 142)
HSLhsl(273, 73%, 32%)
HSVhsv(273, 85%, 56%)
CMYKcmyk(38.7%, 84.5%, 0%, 44.3%)
CIE-LABlab(25.42, 50.19, -52.64)
CIE-LCHlch(25.42, 72.73, 313.63°)
OKLaboklab(38.02% 0.0965 -0.1504)
OKLCHoklch(38.02% 0.179 302.7)
XYZxyz(9.0987, 4.5530, 25.9854)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57168E #4D8E16
analogous
#1B168E #57168E #8E1689
triadic
#57168E #8E5716 #168E57
tetradic
#57168E #8E1B16 #4D8E16 #16898E
square
#57168E #8E1B16 #4D8E16 #16898E
split-complementary
#57168E #898E16 #168E1B
monochromatic
#160624 #370E59 #57168E #771EC3 #963DE1

Accessibility & contrast

On white

10.99
#57168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#57168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57168E
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57168E#FFFFFF#000000##FFFFFF
##57168E1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#4B3854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57168e;
/* rgb */ color: rgb(87, 22, 142);
/* oklch */ color: oklch(38.0% 0.179 302.7);
Tailwind
colors: {
  custom: {
    50: '#8d5db0',
    500: '#57168e',
    950: '#000000',
  },
}
SCSS
$custom: #57168e;
$custom-light: #8d5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#57168e",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 272.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3802,
    "c": 0.17864,
    "h": 302.7
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#57168E
secondary
#7AC13F
accent
#F0388C
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #57168E

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

Preview Lab → · Contrast checker → · Palette generator →

#57168E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva