#57239A#57239A

#57239A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.179 H 297.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#57239A
RGBrgb(87, 35, 154)
HSLhsl(266, 63%, 37%)
HSVhsv(266, 77%, 60%)
CMYKcmyk(43.5%, 77.3%, 0%, 39.6%)
CIE-LABlab(28.28, 48.01, -55.36)
CIE-LCHlch(28.28, 73.28, 310.93°)
OKLaboklab(40.34% 0.0825 -0.1584)
OKLCHoklch(40.34% 0.179 297.5)
XYZxyz(10.3627, 5.5612, 31.0930)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57239A #669A23
analogous
#232B9A #57239A #92239A
triadic
#57239A #9A5723 #239A57
tetradic
#57239A #9A232B #669A23 #239A92
square
#57239A #9A232B #669A23 #239A92
split-complementary
#57239A #9A9223 #2B9A23
monochromatic
#1F0C36 #3B1868 #57239A #732ECC #945DDA

Accessibility & contrast

On white

9.94
#57239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#57239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57239A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57239A#FFFFFF#000000##FFFFFF
##57239A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57239a;
/* rgb */ color: rgb(87, 35, 154);
/* oklch */ color: oklch(40.3% 0.179 297.5);
Tailwind
colors: {
  custom: {
    50: '#8d64b9',
    500: '#57239a',
    950: '#000000',
  },
}
SCSS
$custom: #57239a;
$custom-light: #8d64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57239a",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 266.218,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40341,
    "c": 0.17865,
    "h": 297.5
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#57239A
secondary
#93BF5A
accent
#E6429E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57239A

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

Preview Lab → · Contrast checker → · Palette generator →

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