#57219C#57219C

#57219C is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.183 H 297.2°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#57219C
RGBrgb(87, 33, 156)
HSLhsl(266, 65%, 37%)
HSVhsv(266, 79%, 61%)
CMYKcmyk(44.2%, 78.8%, 0%, 38.8%)
CIE-LABlab(28.15, 49.40, -56.79)
CIE-LCHlch(28.15, 75.27, 311.02°)
OKLaboklab(40.31% 0.0836 -0.1626)
OKLCHoklch(40.31% 0.183 297.2)
XYZxyz(10.4735, 5.5140, 31.9585)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57219C #669C21
analogous
#21299C #57219C #94219C
triadic
#57219C #9C5721 #219C57
tetradic
#57219C #9C2129 #669C21 #219C94
square
#57219C #9C2129 #669C21 #219C94
split-complementary
#57219C #9C9421 #299C21
monochromatic
#1F0C37 #3B1669 #57219C #732CCF #945BDC

Accessibility & contrast

On white

9.99
#57219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#57219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57219C
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57219C#FFFFFF#000000##FFFFFF
##57219C1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#45435E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57219c;
/* rgb */ color: rgb(87, 33, 156);
/* oklch */ color: oklch(40.3% 0.183 297.2);
Tailwind
colors: {
  custom: {
    50: '#8d63ba',
    500: '#57219c',
    950: '#000000',
  },
}
SCSS
$custom: #57219c;
$custom-light: #8d63ba;
$custom-dark: #000000;
JSON
{
  "hex": "#57219c",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 266.341,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40308,
    "c": 0.18288,
    "h": 297.2
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#57219C
secondary
#93C158
accent
#E8409E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57219C

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

Preview Lab → · Contrast checker → · Palette generator →

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