#57289F#57289F

#57289F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.179 H 295.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#57289F
RGBrgb(87, 40, 159)
HSLhsl(264, 60%, 39%)
HSVhsv(264, 75%, 62%)
CMYKcmyk(45.3%, 74.8%, 0%, 37.6%)
CIE-LABlab(29.53, 47.01, -56.36)
CIE-LCHlch(29.53, 73.39, 309.83°)
OKLaboklab(41.36% 0.0768 -0.1614)
OKLCHoklch(41.36% 0.179 295.4)
XYZxyz(10.9456, 6.0468, 33.3846)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57289F #709F28
analogous
#28359F #57289F #93289F
triadic
#57289F #9F5728 #289F57
tetradic
#57289F #9F2835 #709F28 #289F93
square
#57289F #9F2835 #709F28 #289F93
split-complementary
#57289F #9F9328 #359F28
monochromatic
#210F3D #3C1C6E #57289F #7237CD #9568D9

Accessibility & contrast

On white

9.50
#57289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#57289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57289F
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57289F#FFFFFF#000000##FFFFFF
##57289F1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#434761
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #57289f;
/* rgb */ color: rgb(87, 40, 159);
/* oklch */ color: oklch(41.4% 0.179 295.4);
Tailwind
colors: {
  custom: {
    50: '#8d67bc',
    500: '#57289f',
    950: '#000000',
  },
}
SCSS
$custom: #57289f;
$custom-light: #8d67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#57289f",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 263.697,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41357,
    "c": 0.17875,
    "h": 295.4
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#57289F
secondary
#9BBF64
accent
#E345A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57289F

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

Preview Lab → · Contrast checker → · Palette generator →

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