#57428C#57428C

#57428C is a dark, moderate violet. Relative luminance 0.078; OKLCH L 43.9% C 0.118 H 294.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#57428C
RGBrgb(87, 66, 140)
HSLhsl(257, 36%, 40%)
HSVhsv(257, 53%, 55%)
CMYKcmyk(37.9%, 52.9%, 0%, 45.1%)
CIE-LABlab(33.60, 26.98, -38.18)
CIE-LCHlch(33.60, 46.75, 305.25°)
OKLaboklab(43.86% 0.0482 -0.108)
OKLCHoklch(43.86% 0.118 294.1)
XYZxyz(10.6111, 7.8159, 25.7554)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57428C #778C42
analogous
#42528C #57428C #7C428C
triadic
#57428C #8C5742 #428C57
tetradic
#57428C #8C4252 #778C42 #428C7C
square
#57428C #8C4252 #778C42 #428C7C
split-complementary
#57428C #8C7C42 #528C42
monochromatic
#231B39 #3D2E62 #57428C #735AB1 #9684C5

Accessibility & contrast

On white

8.19
#57428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#57428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57428C
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57428C#FFFFFF#000000##FFFFFF
##57428C1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#4A5160
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #57428c;
/* rgb */ color: rgb(87, 66, 140);
/* oklch */ color: oklch(43.9% 0.118 294.1);
Tailwind
colors: {
  custom: {
    50: '#8977ae',
    500: '#57428c',
    950: '#000000',
  },
}
SCSS
$custom: #57428c;
$custom-light: #8977ae;
$custom-dark: #000000;
JSON
{
  "hex": "#57428c",
  "rgb": {
    "r": 87,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 257.027,
    "s": 35.922,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43864,
    "c": 0.11832,
    "h": 294.1
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

primary
#57428C
secondary
#A0B07A
accent
#CC5CAC
background
#F8F7FA
surface
#F0EDF4
border
#CBC8CE
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #57428C

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

Preview Lab → · Contrast checker → · Palette generator →

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