#57279A#57279A

#57279A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.174 H 296.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#57279A
RGBrgb(87, 39, 154)
HSLhsl(265, 60%, 38%)
HSVhsv(265, 75%, 60%)
CMYKcmyk(43.5%, 74.7%, 0%, 39.6%)
CIE-LABlab(28.93, 46.16, -54.30)
CIE-LCHlch(28.93, 71.27, 310.37°)
OKLaboklab(40.8% 0.0789 -0.1554)
OKLCHoklch(40.8% 0.174 296.9)
XYZxyz(10.4872, 5.8102, 31.1345)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57279A #6A9A27
analogous
#27319A #57279A #90279A
triadic
#57279A #9A5727 #279A57
tetradic
#57279A #9A2731 #6A9A27 #279A90
square
#57279A #9A2731 #6A9A27 #279A90
split-complementary
#57279A #9A9027 #319A27
monochromatic
#200E38 #3B1B69 #57279A #7333CB #9464D8

Accessibility & contrast

On white

9.71
#57279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#57279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57279A
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57279A#FFFFFF#000000##FFFFFF
##57279A1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459D
Deuteranopia (green-blind)
#004398
Tritanopia (blue-blind)
#45455E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #57279a;
/* rgb */ color: rgb(87, 39, 154);
/* oklch */ color: oklch(40.8% 0.174 296.9);
Tailwind
colors: {
  custom: {
    50: '#8d66b9',
    500: '#57279a',
    950: '#000000',
  },
}
SCSS
$custom: #57279a;
$custom-light: #8d66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57279a",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 265.043,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40799,
    "c": 0.17425,
    "h": 296.9
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#57279A
secondary
#96BD5F
accent
#E345A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #57279A

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

Preview Lab → · Contrast checker → · Palette generator →

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