#57168B#57168B

#57168B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.176 H 303.7°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#57168B
RGBrgb(87, 22, 139)
HSLhsl(273, 73%, 32%)
HSVhsv(273, 84%, 55%)
CMYKcmyk(37.4%, 84.2%, 0%, 45.5%)
CIE-LABlab(25.15, 49.48, -51.22)
CIE-LCHlch(25.15, 71.21, 314.01°)
OKLaboklab(37.75% 0.0974 -0.1462)
OKLCHoklch(37.75% 0.176 303.7)
XYZxyz(8.8765, 4.4641, 24.8151)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57168B #4A8B16
analogous
#1C168B #57168B #8B1685
triadic
#57168B #8B5716 #168B57
tetradic
#57168B #8B1C16 #4A8B16 #16858B
square
#57168B #8B1C16 #4A8B16 #16858B
split-complementary
#57168B #858B16 #168B1C
monochromatic
#150521 #360E56 #57168B #781EC0 #973BE0

Accessibility & contrast

On white

11.09
#57168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#57168B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57168B
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57168B#FFFFFF#000000##FFFFFF
##57168B1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#4C3752
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57168b;
/* rgb */ color: rgb(87, 22, 139);
/* oklch */ color: oklch(37.7% 0.176 303.7);
Tailwind
colors: {
  custom: {
    50: '#8c5dae',
    500: '#57168b',
    950: '#000000',
  },
}
SCSS
$custom: #57168b;
$custom-light: #8c5dae;
$custom-dark: #000000;
JSON
{
  "hex": "#57168b",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 273.333,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37749,
    "c": 0.17568,
    "h": 303.7
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

primary
#57168B
secondary
#77BF3E
accent
#EF388A
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #57168B

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

Preview Lab → · Contrast checker → · Palette generator →

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