#57289A#57289A

#57289A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.173 H 296.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#57289A
RGBrgb(87, 40, 154)
HSLhsl(265, 59%, 38%)
HSVhsv(265, 74%, 60%)
CMYKcmyk(43.5%, 74%, 0%, 39.6%)
CIE-LABlab(29.10, 45.68, -54.02)
CIE-LCHlch(29.10, 70.74, 310.22°)
OKLaboklab(40.92% 0.078 -0.1545)
OKLCHoklch(40.92% 0.173 296.8)
XYZxyz(10.5205, 5.8767, 31.1456)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57289A #6B9A28
analogous
#28329A #57289A #90289A
triadic
#57289A #9A5728 #289A57
tetradic
#57289A #9A2832 #6B9A28 #289A90
square
#57289A #9A2832 #6B9A28 #289A90
split-complementary
#57289A #9A9028 #329A28
monochromatic
#200F39 #3C1B69 #57289A #7235CA #9465D7

Accessibility & contrast

On white

9.65
#57289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57289A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57289A#FFFFFF#000000##FFFFFF
##57289A1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#45455F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57289a;
/* rgb */ color: rgb(87, 40, 154);
/* oklch */ color: oklch(40.9% 0.173 296.8);
Tailwind
colors: {
  custom: {
    50: '#8d66b9',
    500: '#57289a',
    950: '#000000',
  },
}
SCSS
$custom: #57289a;
$custom-light: #8d66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57289a",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 264.737,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4092,
    "c": 0.1731,
    "h": 296.8
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#57289A
secondary
#97BD61
accent
#E246A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #57289A

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

Preview Lab → · Contrast checker → · Palette generator →

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