#57287C#57287C

#57287C is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.139 H 306.7°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#57287C
RGBrgb(87, 40, 124)
HSLhsl(274, 51%, 32%)
HSVhsv(274, 68%, 49%)
CMYKcmyk(29.8%, 67.7%, 0%, 51.4%)
CIE-LABlab(26.73, 37.87, -39.23)
CIE-LCHlch(26.73, 54.53, 313.99°)
OKLaboklab(38.49% 0.0828 -0.1111)
OKLCHoklch(38.49% 0.139 306.7)
XYZxyz(8.3266, 4.9991, 19.5912)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57287C #4D7C28
analogous
#2D287C #57287C #7C2877
triadic
#57287C #7C5728 #287C57
tetradic
#57287C #7C2D28 #4D7C28 #28777C
square
#57287C #7C2D28 #4D7C28 #28777C
split-complementary
#57287C #777C28 #287C2D
monochromatic
#160A1F #37194E #57287C #7737AA #9656C8

Accessibility & contrast

On white

10.50
#57287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#57287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57287C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57287C#FFFFFF#000000##FFFFFF
##57287C1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#15407A
Tritanopia (blue-blind)
#513A4E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #57287c;
/* rgb */ color: rgb(87, 40, 124);
/* oklch */ color: oklch(38.5% 0.139 306.7);
Tailwind
colors: {
  custom: {
    50: '#8a65a2',
    500: '#57287c',
    950: '#000000',
  },
}
SCSS
$custom: #57287c;
$custom-light: #8a65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#57287c",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 273.571,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38488,
    "c": 0.13854,
    "h": 306.7
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#57287C
secondary
#7AAD52
accent
#DB4D8B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #57287C

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

Preview Lab → · Contrast checker → · Palette generator →

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