#57219A#57219A

#57219A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.181 H 297.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#57219A
RGBrgb(87, 33, 154)
HSLhsl(267, 65%, 37%)
HSVhsv(267, 79%, 60%)
CMYKcmyk(43.5%, 78.6%, 0%, 39.6%)
CIE-LABlab(27.97, 48.89, -55.86)
CIE-LCHlch(27.97, 74.24, 311.19°)
OKLaboklab(40.13% 0.0842 -0.1599)
OKLCHoklch(40.13% 0.181 297.8)
XYZxyz(10.3056, 5.4469, 31.0740)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57219A #649A21
analogous
#21279A #57219A #94219A
triadic
#57219A #9A5721 #219A57
tetradic
#57219A #9A2127 #649A21 #219A94
square
#57219A #9A2127 #649A21 #219A94
split-complementary
#57219A #9A9421 #279A21
monochromatic
#1E0B35 #3B1668 #57219A #732CCC #945ADC

Accessibility & contrast

On white

10.05
#57219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#57219A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57219A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57219A#FFFFFF#000000##FFFFFF
##57219A1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#46425D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57219a;
/* rgb */ color: rgb(87, 33, 154);
/* oklch */ color: oklch(40.1% 0.181 297.8);
Tailwind
colors: {
  custom: {
    50: '#8d63b9',
    500: '#57219a',
    950: '#000000',
  },
}
SCSS
$custom: #57219a;
$custom-light: #8d63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57219a",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 266.777,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40127,
    "c": 0.18073,
    "h": 297.8
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#57219A
secondary
#91C057
accent
#E8409D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57219A

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

Preview Lab → · Contrast checker → · Palette generator →

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