#57147C#57147C

#57147C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.163 H 309.4°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#57147C
RGBrgb(87, 20, 124)
HSLhsl(279, 72%, 28%)
HSVhsv(279, 84%, 49%)
CMYKcmyk(29.8%, 83.9%, 0%, 51.4%)
CIE-LABlab(23.61, 46.71, -44.29)
CIE-LCHlch(23.61, 64.37, 316.52°)
OKLaboklab(36.28% 0.1034 -0.1258)
OKLCHoklch(36.28% 0.163 309.4)
XYZxyz(7.8180, 3.9819, 19.4216)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57147C #397C14
analogous
#23147C #57147C #7C146D
triadic
#57147C #7C5714 #147C57
tetradic
#57147C #7C2314 #397C14 #146D7C
square
#57147C #7C2314 #397C14 #146D7C
split-complementary
#57147C #6D7C14 #147C23
monochromatic
#12041A #320B47 #57147C #7C1DB1 #9F2DDD

Accessibility & contrast

On white

11.69
#57147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#57147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57147C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57147C#FFFFFF#000000##FFFFFF
##57147C1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#512F49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #57147c;
/* rgb */ color: rgb(87, 20, 124);
/* oklch */ color: oklch(36.3% 0.163 309.4);
Tailwind
colors: {
  custom: {
    50: '#8b5ba3',
    500: '#57147c',
    950: '#000000',
  },
}
SCSS
$custom: #57147c;
$custom-light: #8b5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#57147c",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 278.654,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36275,
    "c": 0.16285,
    "h": 309.4
  },
  "luminance": 0.03982
}

Semantic roles & 50–950 ramp

primary
#57147C
secondary
#65B23A
accent
#EF397A
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57147C

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

Preview Lab → · Contrast checker → · Palette generator →

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