#57229A#57229A

#57229A is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.180 H 297.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#57229A
RGBrgb(87, 34, 154)
HSLhsl(267, 64%, 37%)
HSVhsv(267, 78%, 60%)
CMYKcmyk(43.5%, 77.9%, 0%, 39.6%)
CIE-LABlab(28.12, 48.46, -55.62)
CIE-LCHlch(28.12, 73.76, 311.06°)
OKLaboklab(40.23% 0.0834 -0.1592)
OKLCHoklch(40.23% 0.18 297.6)
XYZxyz(10.3337, 5.5032, 31.0834)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57229A #659A22
analogous
#22299A #57229A #93229A
triadic
#57229A #9A5722 #229A57
tetradic
#57229A #9A2229 #659A22 #229A93
square
#57229A #9A2229 #659A22 #229A93
split-complementary
#57229A #9A9322 #299A22
monochromatic
#1E0C36 #3B1768 #57229A #732DCC #945BDB

Accessibility & contrast

On white

10.00
#57229A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#57229A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57229A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57229A#FFFFFF#000000##FFFFFF
##57229A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57229a;
/* rgb */ color: rgb(87, 34, 154);
/* oklch */ color: oklch(40.2% 0.180 297.6);
Tailwind
colors: {
  custom: {
    50: '#8d63b9',
    500: '#57229a',
    950: '#000000',
  },
}
SCSS
$custom: #57229a;
$custom-light: #8d63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57229a",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 266.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.1797,
    "h": 297.6
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

primary
#57229A
secondary
#92BF58
accent
#E7419E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57229A

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

Preview Lab → · Contrast checker → · Palette generator →

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