#57279B#57279B

#57279B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.9% C 0.175 H 296.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#57279B
RGBrgb(87, 39, 155)
HSLhsl(265, 60%, 38%)
HSVhsv(265, 75%, 61%)
CMYKcmyk(43.9%, 74.8%, 0%, 39.2%)
CIE-LABlab(29.01, 46.42, -54.77)
CIE-LCHlch(29.01, 71.80, 310.29°)
OKLaboklab(40.89% 0.0787 -0.1567)
OKLCHoklch(40.89% 0.175 296.7)
XYZxyz(10.5708, 5.8436, 31.5750)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57279B #6B9B27
analogous
#27319B #57279B #91279B
triadic
#57279B #9B5727 #279B57
tetradic
#57279B #9B2731 #6B9B27 #279B91
square
#57279B #9B2731 #6B9B27 #279B91
split-complementary
#57279B #9B9127 #319B27
monochromatic
#200E39 #3C1B6A #57279B #7233CC #9464D8

Accessibility & contrast

On white

9.68
#57279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#57279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57279B
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57279B#FFFFFF#000000##FFFFFF
##57279B1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57279b;
/* rgb */ color: rgb(87, 39, 155);
/* oklch */ color: oklch(40.9% 0.175 296.7);
Tailwind
colors: {
  custom: {
    50: '#8d66b9',
    500: '#57279b',
    950: '#000000',
  },
}
SCSS
$custom: #57279b;
$custom-light: #8d66b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57279b",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 264.828,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40887,
    "c": 0.17538,
    "h": 296.7
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#57279B
secondary
#97BE60
accent
#E345A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57279B

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

Preview Lab → · Contrast checker → · Palette generator →

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