#57279C#57279C

#57279C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.176 H 296.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#57279C
RGBrgb(87, 39, 156)
HSLhsl(265, 60%, 38%)
HSVhsv(265, 75%, 61%)
CMYKcmyk(44.2%, 75%, 0%, 38.8%)
CIE-LABlab(29.10, 46.69, -55.24)
CIE-LCHlch(29.10, 72.33, 310.21°)
OKLaboklab(40.97% 0.0784 -0.1581)
OKLCHoklch(40.97% 0.177 296.4)
XYZxyz(10.6552, 5.8773, 32.0191)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57279C #6C9C27
analogous
#27329C #57279C #91279C
triadic
#57279C #9C5727 #279C57
tetradic
#57279C #9C2732 #6C9C27 #279C91
square
#57279C #9C2732 #6C9C27 #279C91
split-complementary
#57279C #9C9127 #329C27
monochromatic
#200F3A #3C1B6B #57279C #7234CC #9465D8

Accessibility & contrast

On white

9.65
#57279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57279C
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57279C#FFFFFF#000000##FFFFFF
##57279C1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#45465F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57279c;
/* rgb */ color: rgb(87, 39, 156);
/* oklch */ color: oklch(41.0% 0.176 296.4);
Tailwind
colors: {
  custom: {
    50: '#8d66ba',
    500: '#57279c',
    950: '#000000',
  },
}
SCSS
$custom: #57279c;
$custom-light: #8d66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#57279c",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 264.615,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40974,
    "c": 0.1765,
    "h": 296.4
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#57279C
secondary
#98BE61
accent
#E345A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57279C

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

Preview Lab → · Contrast checker → · Palette generator →

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