#57148D#57148D

#57148D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.8% C 0.179 H 303.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#57148D
RGBrgb(87, 20, 141)
HSLhsl(273, 75%, 32%)
HSVhsv(273, 86%, 55%)
CMYKcmyk(38.3%, 85.8%, 0%, 44.7%)
CIE-LABlab(25.11, 50.61, -52.54)
CIE-LCHlch(25.11, 72.95, 313.93°)
OKLaboklab(37.77% 0.0982 -0.15)
OKLCHoklch(37.77% 0.179 303.2)
XYZxyz(8.9872, 4.4496, 25.5795)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57148D #4A8D14
analogous
#1B148D #57148D #8D1487
triadic
#57148D #8D5714 #148D57
tetradic
#57148D #8D1B14 #4A8D14 #14878D
square
#57148D #8D1B14 #4A8D14 #14878D
split-complementary
#57148D #878D14 #148D1B
monochromatic
#150522 #360C57 #57148D #781CC3 #9739E3

Accessibility & contrast

On white

11.11
#57148D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#57148D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57148D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57148D#FFFFFF#000000##FFFFFF
##57148D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#4C3753
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57148d;
/* rgb */ color: rgb(87, 20, 141);
/* oklch */ color: oklch(37.8% 0.179 303.2);
Tailwind
colors: {
  custom: {
    50: '#8c5caf',
    500: '#57148d',
    950: '#000000',
  },
}
SCSS
$custom: #57148d;
$custom-light: #8c5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#57148d",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 141
  },
  "hsl": {
    "h": 273.223,
    "s": 75.155,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37774,
    "c": 0.17929,
    "h": 303.2
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#57148D
secondary
#77C13C
accent
#F2368A
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #57148D

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

Preview Lab → · Contrast checker → · Palette generator →

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