#57147A#57147A

#57147A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.161 H 310.2°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#57147A
RGBrgb(87, 20, 122)
HSLhsl(279, 72%, 28%)
HSVhsv(279, 84%, 48%)
CMYKcmyk(28.7%, 83.6%, 0%, 52.2%)
CIE-LABlab(23.45, 46.26, -43.29)
CIE-LCHlch(23.45, 63.35, 316.90°)
OKLaboklab(36.11% 0.104 -0.1229)
OKLCHoklch(36.11% 0.161 310.2)
XYZxyz(7.6928, 3.9319, 18.7623)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57147A #377A14
analogous
#24147A #57147A #7A146A
triadic
#57147A #7A5714 #147A57
tetradic
#57147A #7A2414 #377A14 #146A7A
square
#57147A #7A2414 #377A14 #146A7A
split-complementary
#57147A #6A7A14 #147A24
monochromatic
#13041A #320B45 #57147A #7C1DAF #A02CDC

Accessibility & contrast

On white

11.76
#57147A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#57147A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57147A
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57147A#FFFFFF#000000##FFFFFF
##57147A1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#522E48
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #57147a;
/* rgb */ color: rgb(87, 20, 122);
/* oklch */ color: oklch(36.1% 0.161 310.2);
Tailwind
colors: {
  custom: {
    50: '#8b5ba1',
    500: '#57147a',
    950: '#000000',
  },
}
SCSS
$custom: #57147a;
$custom-light: #8b5ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#57147a",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 122
  },
  "hsl": {
    "h": 279.412,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36107,
    "c": 0.16094,
    "h": 310.2
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#57147A
secondary
#62B03A
accent
#EF3977
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57147A

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

Preview Lab → · Contrast checker → · Palette generator →

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