#57289C#57289C

#57289C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.175 H 296.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#57289C
RGBrgb(87, 40, 156)
HSLhsl(264, 59%, 38%)
HSVhsv(264, 74%, 61%)
CMYKcmyk(44.2%, 74.4%, 0%, 38.8%)
CIE-LABlab(29.27, 46.21, -54.96)
CIE-LCHlch(29.27, 71.80, 310.06°)
OKLaboklab(41.09% 0.0775 -0.1573)
OKLCHoklch(41.09% 0.175 296.2)
XYZxyz(10.6884, 5.9439, 32.0302)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57289C #6D9C28
analogous
#28339C #57289C #91289C
triadic
#57289C #9C5728 #289C57
tetradic
#57289C #9C2833 #6D9C28 #289C91
square
#57289C #9C2833 #6D9C28 #289C91
split-complementary
#57289C #9C9128 #339C28
monochromatic
#210F3B #3C1C6B #57289C #7236CB #9467D8

Accessibility & contrast

On white

9.59
#57289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#57289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57289C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57289C#FFFFFF#000000##FFFFFF
##57289C1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#444660
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57289c;
/* rgb */ color: rgb(87, 40, 156);
/* oklch */ color: oklch(41.1% 0.175 296.2);
Tailwind
colors: {
  custom: {
    50: '#8d67ba',
    500: '#57289c',
    950: '#000000',
  },
}
SCSS
$custom: #57289c;
$custom-light: #8d67ba;
$custom-dark: #000000;
JSON
{
  "hex": "#57289c",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 264.31,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41094,
    "c": 0.17536,
    "h": 296.2
  },
  "luminance": 0.05944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #57289C

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

Preview Lab → · Contrast checker → · Palette generator →

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