#57148E#57148E

#57148E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.180 H 302.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#57148E
RGBrgb(87, 20, 142)
HSLhsl(273, 75%, 32%)
HSVhsv(273, 86%, 56%)
CMYKcmyk(38.7%, 85.9%, 0%, 44.3%)
CIE-LABlab(25.20, 50.84, -53.01)
CIE-LCHlch(25.20, 73.45, 313.81°)
OKLaboklab(37.87% 0.0978 -0.1514)
OKLCHoklch(37.87% 0.18 302.9)
XYZxyz(9.0620, 4.4795, 25.9732)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57148E #4B8E14
analogous
#1A148E #57148E #8E1488
triadic
#57148E #8E5714 #148E57
tetradic
#57148E #8E1A14 #4B8E14 #14888E
square
#57148E #8E1A14 #4B8E14 #14888E
split-complementary
#57148E #888E14 #148E1A
monochromatic
#150523 #360C58 #57148E #781CC4 #9739E3

Accessibility & contrast

On white

11.08
#57148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#57148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57148E
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57148E#FFFFFF#000000##FFFFFF
##57148E1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#4B3853
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57148e;
/* rgb */ color: rgb(87, 20, 142);
/* oklch */ color: oklch(37.9% 0.180 302.9);
Tailwind
colors: {
  custom: {
    50: '#8d5db0',
    500: '#57148e',
    950: '#000000',
  },
}
SCSS
$custom: #57148e;
$custom-light: #8d5db0;
$custom-dark: #000000;
JSON
{
  "hex": "#57148e",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 272.951,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37865,
    "c": 0.18027,
    "h": 302.9
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#57148E
secondary
#78C23C
accent
#F2368B
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #57148E

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

Preview Lab → · Contrast checker → · Palette generator →

#57148E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva