#57219D#57219D

#57219D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.4% C 0.184 H 296.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#57219D
RGBrgb(87, 33, 157)
HSLhsl(266, 65%, 37%)
HSVhsv(266, 79%, 62%)
CMYKcmyk(44.6%, 79%, 0%, 38.4%)
CIE-LABlab(28.24, 49.66, -57.25)
CIE-LCHlch(28.24, 75.79, 310.94°)
OKLaboklab(40.4% 0.0833 -0.164)
OKLCHoklch(40.4% 0.184 296.9)
XYZxyz(10.5585, 5.5481, 32.4063)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57219D #679D21
analogous
#21299D #57219D #95219D
triadic
#57219D #9D5721 #219D57
tetradic
#57219D #9D2129 #679D21 #219D95
square
#57219D #9D2129 #679D21 #219D95
split-complementary
#57219D #9D9521 #299D21
monochromatic
#1F0C38 #3B166A #57219D #732CD0 #945CDD

Accessibility & contrast

On white

9.95
#57219D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#57219D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57219D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57219D#FFFFFF#000000##FFFFFF
##57219D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#44435F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #57219d;
/* rgb */ color: rgb(87, 33, 157);
/* oklch */ color: oklch(40.4% 0.184 296.9);
Tailwind
colors: {
  custom: {
    50: '#8e63bb',
    500: '#57219d',
    950: '#000000',
  },
}
SCSS
$custom: #57219d;
$custom-light: #8e63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#57219d",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 266.129,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.18395,
    "h": 296.9
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#57219D
secondary
#94C159
accent
#E8409F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57219D

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

Preview Lab → · Contrast checker → · Palette generator →

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