#57147F#57147F

#57147F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.166 H 308.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#57147F
RGBrgb(87, 20, 127)
HSLhsl(278, 73%, 29%)
HSVhsv(278, 84%, 50%)
CMYKcmyk(31.5%, 84.3%, 0%, 50.2%)
CIE-LABlab(23.87, 47.39, -45.78)
CIE-LCHlch(23.87, 65.88, 315.99°)
OKLaboklab(36.53% 0.1026 -0.1302)
OKLCHoklch(36.53% 0.166 308.2)
XYZxyz(8.0106, 4.0590, 20.4360)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57147F #3C7F14
analogous
#22147F #57147F #7F1472
triadic
#57147F #7F5714 #147F57
tetradic
#57147F #7F2214 #3C7F14 #14727F
square
#57147F #7F2214 #3C7F14 #14727F
split-complementary
#57147F #727F14 #147F22
monochromatic
#12041A #330C4A #57147F #7B1CB4 #9D2FDE

Accessibility & contrast

On white

11.59
#57147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#57147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57147F
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57147F#FFFFFF#000000##FFFFFF
##57147F1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#50314B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #57147f;
/* rgb */ color: rgb(87, 20, 127);
/* oklch */ color: oklch(36.5% 0.166 308.2);
Tailwind
colors: {
  custom: {
    50: '#8b5ca5',
    500: '#57147f',
    950: '#000000',
  },
}
SCSS
$custom: #57147f;
$custom-light: #8b5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#57147f",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 277.57,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36531,
    "c": 0.16575,
    "h": 308.2
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

primary
#57147F
secondary
#68B43B
accent
#EF387D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57147F

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

Preview Lab → · Contrast checker → · Palette generator →

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