#57148F#57148F

#57148F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 38.0% C 0.181 H 302.5°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#57148F
RGBrgb(87, 20, 143)
HSLhsl(273, 75%, 32%)
HSVhsv(273, 86%, 56%)
CMYKcmyk(39.2%, 86%, 0%, 43.9%)
CIE-LABlab(25.29, 51.08, -53.48)
CIE-LCHlch(25.29, 73.95, 313.69°)
OKLaboklab(37.96% 0.0975 -0.1528)
OKLCHoklch(37.96% 0.181 302.5)
XYZxyz(9.1374, 4.5097, 26.3703)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57148F #4C8F14
analogous
#1A148F #57148F #8F148A
triadic
#57148F #8F5714 #148F57
tetradic
#57148F #8F1A14 #4C8F14 #148A8F
square
#57148F #8F1A14 #4C8F14 #148A8F
split-complementary
#57148F #8A8F14 #148F1A
monochromatic
#160524 #360C59 #57148F #781CC5 #963AE3

Accessibility & contrast

On white

11.04
#57148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57148F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57148F#FFFFFF#000000##FFFFFF
##57148F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#4B3854
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #57148f;
/* rgb */ color: rgb(87, 20, 143);
/* oklch */ color: oklch(38.0% 0.181 302.5);
Tailwind
colors: {
  custom: {
    50: '#8d5db1',
    500: '#57148f',
    950: '#000000',
  },
}
SCSS
$custom: #57148f;
$custom-light: #8d5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#57148f",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 272.683,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37957,
    "c": 0.18124,
    "h": 302.5
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#57148F
secondary
#79C33C
accent
#F2368B
background
#F9F5FB
surface
#F1E9F6
border
#CBC5D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #57148F

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

Preview Lab → · Contrast checker → · Palette generator →

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