#57168F#57168F

#57168F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.180 H 302.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#57168F
RGBrgb(87, 22, 143)
HSLhsl(272, 73%, 32%)
HSVhsv(272, 85%, 56%)
CMYKcmyk(39.2%, 84.6%, 0%, 43.9%)
CIE-LABlab(25.51, 50.42, -53.11)
CIE-LCHlch(25.51, 73.23, 313.51°)
OKLaboklab(38.11% 0.0961 -0.1517)
OKLCHoklch(38.11% 0.18 302.4)
XYZxyz(9.1741, 4.5832, 26.3826)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57168F #4E8F16
analogous
#1A168F #57168F #8F168B
triadic
#57168F #8F5716 #168F57
tetradic
#57168F #8F1A16 #4E8F16 #168B8F
square
#57168F #8F1A16 #4E8F16 #168B8F
split-complementary
#57168F #8B8F16 #168F1A
monochromatic
#160625 #370E5A #57168F #771EC4 #963EE1

Accessibility & contrast

On white

10.96
#57168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#57168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57168F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57168F#FFFFFF#000000##FFFFFF
##57168F1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#4B3954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57168f;
/* rgb */ color: rgb(87, 22, 143);
/* oklch */ color: oklch(38.1% 0.180 302.4);
Tailwind
colors: {
  custom: {
    50: '#8d5db1',
    500: '#57168f',
    950: '#000000',
  },
}
SCSS
$custom: #57168f;
$custom-light: #8d5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#57168f",
  "rgb": {
    "r": 87,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 272.231,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38111,
    "c": 0.17963,
    "h": 302.4
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#57168F
secondary
#7CC13F
accent
#F0388D
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #57168F

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

Preview Lab → · Contrast checker → · Palette generator →

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