#57289D#57289D

#57289D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.176 H 296.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#57289D
RGBrgb(87, 40, 157)
HSLhsl(264, 59%, 39%)
HSVhsv(264, 75%, 62%)
CMYKcmyk(44.6%, 74.5%, 0%, 38.4%)
CIE-LABlab(29.36, 46.48, -55.43)
CIE-LCHlch(29.36, 72.34, 309.98°)
OKLaboklab(41.18% 0.0773 -0.1587)
OKLCHoklch(41.18% 0.176 296)
XYZxyz(10.7735, 5.9779, 32.4780)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57289D #6E9D28
analogous
#28339D #57289D #91289D
triadic
#57289D #9D5728 #289D57
tetradic
#57289D #9D2833 #6E9D28 #289D91
square
#57289D #9D2833 #6E9D28 #289D91
split-complementary
#57289D #9D9128 #339D28
monochromatic
#210F3B #3C1C6C #57289D #7236CC #9567D8

Accessibility & contrast

On white

9.56
#57289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#57289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57289D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57289D#FFFFFF#000000##FFFFFF
##57289D1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#444660
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57289d;
/* rgb */ color: rgb(87, 40, 157);
/* oklch */ color: oklch(41.2% 0.176 296.0);
Tailwind
colors: {
  custom: {
    50: '#8d67bb',
    500: '#57289d',
    950: '#000000',
  },
}
SCSS
$custom: #57289d;
$custom-light: #8d67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#57289d",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 264.103,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41181,
    "c": 0.17649,
    "h": 296
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#57289D
secondary
#99BE62
accent
#E345A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57289D

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

Preview Lab → · Contrast checker → · Palette generator →

#57289D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva