#57279D#57279D

#57279D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.178 H 296.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#57279D
RGBrgb(87, 39, 157)
HSLhsl(264, 60%, 38%)
HSVhsv(264, 75%, 62%)
CMYKcmyk(44.6%, 75.2%, 0%, 38.4%)
CIE-LABlab(29.19, 46.95, -55.71)
CIE-LCHlch(29.19, 72.85, 310.13°)
OKLaboklab(41.06% 0.0782 -0.1595)
OKLCHoklch(41.06% 0.178 296.1)
XYZxyz(10.7402, 5.9114, 32.4669)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57279D #6D9D27
analogous
#27329D #57279D #92279D
triadic
#57279D #9D5727 #279D57
tetradic
#57279D #9D2732 #6D9D27 #279D92
square
#57279D #9D2732 #6D9D27 #279D92
split-complementary
#57279D #9D9227 #329D27
monochromatic
#210F3B #3C1B6C #57279D #7235CD #9466D9

Accessibility & contrast

On white

9.62
#57279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#57279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57279D
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57279D#FFFFFF#000000##FFFFFF
##57279D1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#444660
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57279d;
/* rgb */ color: rgb(87, 39, 157);
/* oklch */ color: oklch(41.1% 0.178 296.1);
Tailwind
colors: {
  custom: {
    50: '#8d66bb',
    500: '#57279d',
    950: '#000000',
  },
}
SCSS
$custom: #57279d;
$custom-light: #8d66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#57279d",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 264.407,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41062,
    "c": 0.17763,
    "h": 296.1
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#57279D
secondary
#99BF61
accent
#E344A3
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57279D

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

Preview Lab → · Contrast checker → · Palette generator →

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