#57147B#57147B

#57147B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.162 H 309.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#57147B
RGBrgb(87, 20, 123)
HSLhsl(279, 72%, 28%)
HSVhsv(279, 84%, 48%)
CMYKcmyk(29.3%, 83.7%, 0%, 51.8%)
CIE-LABlab(23.53, 46.48, -43.79)
CIE-LCHlch(23.53, 63.86, 316.71°)
OKLaboklab(36.19% 0.1037 -0.1243)
OKLCHoklch(36.19% 0.162 309.8)
XYZxyz(7.7551, 3.9568, 19.0903)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57147B #387B14
analogous
#23147B #57147B #7B146B
triadic
#57147B #7B5714 #147B57
tetradic
#57147B #7B2314 #387B14 #146B7B
square
#57147B #7B2314 #387B14 #146B7B
split-complementary
#57147B #6B7B14 #147B23
monochromatic
#13041A #320B46 #57147B #7C1DB0 #9F2DDD

Accessibility & contrast

On white

11.72
#57147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57147B
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57147B#FFFFFF#000000##FFFFFF
##57147B1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#522F48
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #57147b;
/* rgb */ color: rgb(87, 20, 123);
/* oklch */ color: oklch(36.2% 0.162 309.8);
Tailwind
colors: {
  custom: {
    50: '#8b5ba2',
    500: '#57147b',
    950: '#000000',
  },
}
SCSS
$custom: #57147b;
$custom-light: #8b5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#57147b",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 279.029,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36191,
    "c": 0.16189,
    "h": 309.8
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#57147B
secondary
#64B13A
accent
#EF3979
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57147B

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

Preview Lab → · Contrast checker → · Palette generator →

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