#57217A#57217A

#57217A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.146 H 308.7°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#57217A
RGBrgb(87, 33, 122)
HSLhsl(276, 57%, 30%)
HSVhsv(276, 73%, 48%)
CMYKcmyk(28.7%, 73%, 0%, 52.2%)
CIE-LABlab(25.32, 40.90, -40.25)
CIE-LCHlch(25.32, 57.38, 315.46°)
OKLaboklab(37.43% 0.0913 -0.114)
OKLCHoklch(37.43% 0.146 308.7)
XYZxyz(7.9865, 4.5192, 18.8602)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57217A #447A21
analogous
#2A217A #57217A #7A2170
triadic
#57217A #7A5721 #217A57
tetradic
#57217A #7A2A21 #447A21 #21707A
square
#57217A #7A2A21 #447A21 #21707A
split-complementary
#57217A #707A21 #217A2A
monochromatic
#12071A #35144A #57217A #792EAA #9948CD

Accessibility & contrast

On white

11.03
#57217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#57217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57217A
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57217A#FFFFFF#000000##FFFFFF
##57217A1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#0C3D78
Tritanopia (blue-blind)
#52354B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57217a;
/* rgb */ color: rgb(87, 33, 122);
/* oklch */ color: oklch(37.4% 0.146 308.7);
Tailwind
colors: {
  custom: {
    50: '#8a61a1',
    500: '#57217a',
    950: '#000000',
  },
}
SCSS
$custom: #57217a;
$custom-light: #8a61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#57217a",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 276.404,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37429,
    "c": 0.14609,
    "h": 308.7
  },
  "luminance": 0.04519
}

Semantic roles & 50–950 ramp

primary
#57217A
secondary
#71AD4A
accent
#E14784
background
#F8F5FA
surface
#F0EAF3
border
#CBC6CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #57217A

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

Preview Lab → · Contrast checker → · Palette generator →

#57217A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva