#57219E#57219E

#57219E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.185 H 296.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#57219E
RGBrgb(87, 33, 158)
HSLhsl(266, 65%, 37%)
HSVhsv(266, 79%, 62%)
CMYKcmyk(44.9%, 79.1%, 0%, 38%)
CIE-LABlab(28.33, 49.92, -57.71)
CIE-LCHlch(28.33, 76.30, 310.86°)
OKLaboklab(40.49% 0.0831 -0.1653)
OKLCHoklch(40.49% 0.185 296.7)
XYZxyz(10.6443, 5.5823, 32.8578)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57219E #689E21
analogous
#212A9E #57219E #96219E
triadic
#57219E #9E5721 #219E57
tetradic
#57219E #9E212A #689E21 #219E96
square
#57219E #9E212A #689E21 #219E96
split-complementary
#57219E #9E9621 #2A9E21
monochromatic
#1F0C39 #3B166B #57219E #732CD1 #945CDD

Accessibility & contrast

On white

9.92
#57219E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#57219E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57219E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57219E#FFFFFF#000000##FFFFFF
##57219E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#44445F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #57219e;
/* rgb */ color: rgb(87, 33, 158);
/* oklch */ color: oklch(40.5% 0.185 296.7);
Tailwind
colors: {
  custom: {
    50: '#8e63bc',
    500: '#57219e',
    950: '#000000',
  },
}
SCSS
$custom: #57219e;
$custom-light: #8e63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#57219e",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 265.92,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40491,
    "c": 0.18502,
    "h": 296.7
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #57219E

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

Preview Lab → · Contrast checker → · Palette generator →

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