#57286F#57286F

#57286F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.123 H 312.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#57286F
RGBrgb(87, 40, 111)
HSLhsl(280, 47%, 30%)
HSVhsv(280, 64%, 44%)
CMYKcmyk(21.6%, 64%, 0%, 56.5%)
CIE-LABlab(25.84, 34.68, -32.39)
CIE-LCHlch(25.84, 47.45, 316.95°)
OKLaboklab(37.56% 0.0834 -0.091)
OKLCHoklch(37.56% 0.123 312.5)
XYZxyz(7.5580, 4.6917, 15.5433)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57286F #406F28
analogous
#33286F #57286F #6F2864
triadic
#57286F #6F5728 #286F57
tetradic
#57286F #6F3328 #406F28 #28646F
square
#57286F #6F3328 #406F28 #28646F
split-complementary
#57286F #646F28 #286F33
monochromatic
#120816 #341842 #57286F #7A389C #9B51C0

Accessibility & contrast

On white

10.83
#57286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#57286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57286F
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57286F#FFFFFF#000000##FFFFFF
##57286F1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3B71
Deuteranopia (green-blind)
#233E6D
Tritanopia (blue-blind)
#543547
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #57286f;
/* rgb */ color: rgb(87, 40, 111);
/* oklch */ color: oklch(37.6% 0.123 312.5);
Tailwind
colors: {
  custom: {
    50: '#896599',
    500: '#57286f',
    950: '#000000',
  },
}
SCSS
$custom: #57286f;
$custom-light: #896599;
$custom-dark: #000000;
JSON
{
  "hex": "#57286f",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 279.718,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.12344,
    "h": 312.5
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#57286F
secondary
#6CA151
accent
#D7517E
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #57286F

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

Preview Lab → · Contrast checker → · Palette generator →

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