#57279F#57279F

#57279F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.180 H 295.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#57279F
RGBrgb(87, 39, 159)
HSLhsl(264, 61%, 39%)
HSVhsv(264, 75%, 62%)
CMYKcmyk(45.3%, 75.5%, 0%, 37.6%)
CIE-LABlab(29.36, 47.49, -56.64)
CIE-LCHlch(29.36, 73.91, 309.98°)
OKLaboklab(41.24% 0.0777 -0.1622)
OKLCHoklch(41.24% 0.18 295.6)
XYZxyz(10.9123, 5.9802, 33.3735)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57279F #6F9F27
analogous
#27339F #57279F #93279F
triadic
#57279F #9F5727 #279F57
tetradic
#57279F #9F2733 #6F9F27 #279F93
square
#57279F #9F2733 #6F9F27 #279F93
split-complementary
#57279F #9F9327 #339F27
monochromatic
#210F3D #3C1B6E #57279F #7236CE #9567DA

Accessibility & contrast

On white

9.56
#57279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#57279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57279F
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57279F#FFFFFF#000000##FFFFFF
##57279F1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57279f;
/* rgb */ color: rgb(87, 39, 159);
/* oklch */ color: oklch(41.2% 0.180 295.6);
Tailwind
colors: {
  custom: {
    50: '#8d66bc',
    500: '#57279f',
    950: '#000000',
  },
}
SCSS
$custom: #57279f;
$custom-light: #8d66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#57279f",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 264,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41239,
    "c": 0.17986,
    "h": 295.6
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#57279F
secondary
#9AC062
accent
#E444A4
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57279F

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

Preview Lab → · Contrast checker → · Palette generator →

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