#57288E#57288E

#57288E is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.159 H 300.3°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#57288E
RGBrgb(87, 40, 142)
HSLhsl(268, 56%, 36%)
HSVhsv(268, 72%, 56%)
CMYKcmyk(38.7%, 71.8%, 0%, 44.3%)
CIE-LABlab(28.11, 42.51, -48.26)
CIE-LCHlch(28.11, 64.31, 311.37°)
OKLaboklab(39.91% 0.0804 -0.1376)
OKLCHoklch(39.91% 0.159 300.3)
XYZxyz(9.5706, 5.4967, 26.1427)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57288E #5F8E28
analogous
#282C8E #57288E #8A288E
triadic
#57288E #8E5728 #288E57
tetradic
#57288E #8E282C #5F8E28 #288E8A
square
#57288E #8E282C #5F8E28 #288E8A
split-complementary
#57288E #8E8A28 #2C8E28
monochromatic
#1C0D2F #3A1B5E #57288E #7435BE #945FD2

Accessibility & contrast

On white

10.00
#57288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#57288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57288E
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57288E#FFFFFF#000000##FFFFFF
##57288E1.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)
#004291
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#4B4158
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57288e;
/* rgb */ color: rgb(87, 40, 142);
/* oklch */ color: oklch(39.9% 0.159 300.3);
Tailwind
colors: {
  custom: {
    50: '#8b66b0',
    500: '#57288e',
    950: '#000000',
  },
}
SCSS
$custom: #57288e;
$custom-light: #8b66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#57288e",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 267.647,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39905,
    "c": 0.15938,
    "h": 300.3
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#57288E
secondary
#8DB75B
accent
#DF489A
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57288E

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

Preview Lab → · Contrast checker → · Palette generator →

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