#57219B#57219B

#57219B is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.182 H 297.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#57219B
RGBrgb(87, 33, 155)
HSLhsl(267, 65%, 37%)
HSVhsv(267, 79%, 61%)
CMYKcmyk(43.9%, 78.7%, 0%, 39.2%)
CIE-LABlab(28.06, 49.15, -56.33)
CIE-LCHlch(28.06, 74.75, 311.10°)
OKLaboklab(40.22% 0.0839 -0.1613)
OKLCHoklch(40.22% 0.182 297.5)
XYZxyz(10.3892, 5.4803, 31.5144)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57219B #659B21
analogous
#21289B #57219B #94219B
triadic
#57219B #9B5721 #219B57
tetradic
#57219B #9B2128 #659B21 #219B94
square
#57219B #9B2128 #659B21 #219B94
split-complementary
#57219B #9B9421 #289B21
monochromatic
#1E0C36 #3B1669 #57219B #732CCD #945ADC

Accessibility & contrast

On white

10.02
#57219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57219B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57219B#FFFFFF#000000##FFFFFF
##57219B1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#45425D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57219b;
/* rgb */ color: rgb(87, 33, 155);
/* oklch */ color: oklch(40.2% 0.182 297.5);
Tailwind
colors: {
  custom: {
    50: '#8d63b9',
    500: '#57219b',
    950: '#000000',
  },
}
SCSS
$custom: #57219b;
$custom-light: #8d63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57219b",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 266.557,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.1818,
    "h": 297.5
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#57219B
secondary
#92C058
accent
#E8409E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57219B

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

Preview Lab → · Contrast checker → · Palette generator →

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