#57239C#57239C

#57239C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.181 H 297.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#57239C
RGBrgb(87, 35, 156)
HSLhsl(266, 63%, 37%)
HSVhsv(266, 78%, 61%)
CMYKcmyk(44.2%, 77.6%, 0%, 38.8%)
CIE-LABlab(28.45, 48.53, -56.29)
CIE-LCHlch(28.45, 74.33, 310.76°)
OKLaboklab(40.52% 0.082 -0.1612)
OKLCHoklch(40.52% 0.181 297)
XYZxyz(10.5307, 5.6284, 31.9776)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57239C #689C23
analogous
#232C9C #57239C #94239C
triadic
#57239C #9C5723 #239C57
tetradic
#57239C #9C232C #689C23 #239C94
square
#57239C #9C232C #689C23 #239C94
split-complementary
#57239C #9C9423 #2C9C23
monochromatic
#1F0D38 #3B186A #57239C #732ECE #945EDB

Accessibility & contrast

On white

9.88
#57239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#57239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57239C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57239C#FFFFFF#000000##FFFFFF
##57239C1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#45445E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #57239c;
/* rgb */ color: rgb(87, 35, 156);
/* oklch */ color: oklch(40.5% 0.181 297.0);
Tailwind
colors: {
  custom: {
    50: '#8d64ba',
    500: '#57239c',
    950: '#000000',
  },
}
SCSS
$custom: #57239c;
$custom-light: #8d64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#57239c",
  "rgb": {
    "r": 87,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 265.785,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4052,
    "c": 0.18083,
    "h": 297
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#57239C
secondary
#94C05B
accent
#E6419F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57239C

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

Preview Lab → · Contrast checker → · Palette generator →

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