#57428E#57428E

#57428E is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.0% C 0.121 H 293.5°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#57428E
RGBrgb(87, 66, 142)
HSLhsl(257, 37%, 41%)
HSVhsv(257, 54%, 56%)
CMYKcmyk(38.7%, 53.5%, 0%, 44.3%)
CIE-LABlab(33.72, 27.56, -39.20)
CIE-LCHlch(33.72, 47.92, 305.10°)
OKLaboklab(44% 0.0484 -0.111)
OKLCHoklch(44% 0.121 293.5)
XYZxyz(10.7599, 7.8754, 26.5391)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57428E #798E42
analogous
#42538E #57428E #7D428E
triadic
#57428E #8E5742 #428E57
tetradic
#57428E #8E4253 #798E42 #428E7D
square
#57428E #8E4253 #798E42 #428E7D
split-complementary
#57428E #8E7D42 #538E42
monochromatic
#241B3A #3D2F64 #57428E #735BB3 #9784C6

Accessibility & contrast

On white

8.15
#57428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#57428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57428E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57428E#FFFFFF#000000##FFFFFF
##57428E1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#495161
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #57428e;
/* rgb */ color: rgb(87, 66, 142);
/* oklch */ color: oklch(44.0% 0.121 293.5);
Tailwind
colors: {
  custom: {
    50: '#8a77af',
    500: '#57428e',
    950: '#000000',
  },
}
SCSS
$custom: #57428e;
$custom-light: #8a77af;
$custom-dark: #000000;
JSON
{
  "hex": "#57428e",
  "rgb": {
    "r": 87,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 256.579,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43998,
    "c": 0.12113,
    "h": 293.5
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#57428E
secondary
#A2B17B
accent
#CD5BAD
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0C0810
muted
#7D7B7F

Preview Lab

Preview with #57428E

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

Preview Lab → · Contrast checker → · Palette generator →

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