#57288F#57288F

#57288F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.161 H 300.0°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#57288F
RGBrgb(87, 40, 143)
HSLhsl(267, 56%, 36%)
HSVhsv(267, 72%, 56%)
CMYKcmyk(39.2%, 72%, 0%, 43.9%)
CIE-LABlab(28.19, 42.77, -48.75)
CIE-LCHlch(28.19, 64.85, 311.26°)
OKLaboklab(39.99% 0.0802 -0.1391)
OKLCHoklch(39.99% 0.161 300)
XYZxyz(9.6460, 5.5269, 26.5399)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57288F #608F28
analogous
#282C8F #57288F #8A288F
triadic
#57288F #8F5728 #288F57
tetradic
#57288F #8F282C #608F28 #288F8A
square
#57288F #8F282C #608F28 #288F8A
split-complementary
#57288F #8F8A28 #2C8F28
monochromatic
#1D0D2F #3A1B5F #57288F #7435BF #945FD2

Accessibility & contrast

On white

9.97
#57288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#57288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57288F
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57288F#FFFFFF#000000##FFFFFF
##57288F1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#4A4158
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57288f;
/* rgb */ color: rgb(87, 40, 143);
/* oklch */ color: oklch(40.0% 0.161 300.0);
Tailwind
colors: {
  custom: {
    50: '#8c66b1',
    500: '#57288f',
    950: '#000000',
  },
}
SCSS
$custom: #57288f;
$custom-light: #8c66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#57288f",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 267.379,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.16053,
    "h": 300
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#57288F
secondary
#8DB85B
accent
#E0489B
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #57288F

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

Preview Lab → · Contrast checker → · Palette generator →

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