#57289B#57289B

#57289B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.174 H 296.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#57289B
RGBrgb(87, 40, 155)
HSLhsl(265, 59%, 38%)
HSVhsv(265, 74%, 61%)
CMYKcmyk(43.9%, 74.2%, 0%, 39.2%)
CIE-LABlab(29.18, 45.94, -54.49)
CIE-LCHlch(29.18, 71.27, 310.13°)
OKLaboklab(41.01% 0.0777 -0.1559)
OKLCHoklch(41.01% 0.174 296.5)
XYZxyz(10.6041, 5.9102, 31.5861)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57289B #6C9B28
analogous
#28329B #57289B #90289B
triadic
#57289B #9B5728 #289B57
tetradic
#57289B #9B2832 #6C9B28 #289B90
square
#57289B #9B2832 #6C9B28 #289B90
split-complementary
#57289B #9B9028 #329B28
monochromatic
#200F3A #3C1B6A #57289B #7235CB #9466D7

Accessibility & contrast

On white

9.62
#57289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#57289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57289B
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57289B#FFFFFF#000000##FFFFFF
##57289B1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#45465F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57289b;
/* rgb */ color: rgb(87, 40, 155);
/* oklch */ color: oklch(41.0% 0.174 296.5);
Tailwind
colors: {
  custom: {
    50: '#8d67b9',
    500: '#57289b',
    950: '#000000',
  },
}
SCSS
$custom: #57289b;
$custom-light: #8d67b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57289b",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 264.522,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41007,
    "c": 0.17423,
    "h": 296.5
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#57289B
secondary
#98BD61
accent
#E246A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57289B

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

Preview Lab → · Contrast checker → · Palette generator →

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