#57148C#57148C

#57148C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.178 H 303.5°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#57148C
RGBrgb(87, 20, 140)
HSLhsl(274, 75%, 31%)
HSVhsv(274, 86%, 55%)
CMYKcmyk(37.9%, 85.7%, 0%, 45.1%)
CIE-LABlab(25.01, 50.38, -52.06)
CIE-LCHlch(25.01, 72.45, 314.06°)
OKLaboklab(37.68% 0.0985 -0.1486)
OKLCHoklch(37.68% 0.178 303.5)
XYZxyz(8.9131, 4.4200, 25.1894)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57148C #498C14
analogous
#1B148C #57148C #8C1485
triadic
#57148C #8C5714 #148C57
tetradic
#57148C #8C1B14 #498C14 #14858C
square
#57148C #8C1B14 #498C14 #14858C
split-complementary
#57148C #858C14 #148C1B
monochromatic
#140521 #360C56 #57148C #781CC2 #9738E3

Accessibility & contrast

On white

11.15
#57148C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#57148C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57148C
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57148C#FFFFFF#000000##FFFFFF
##57148C1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#4C3752
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #57148c;
/* rgb */ color: rgb(87, 20, 140);
/* oklch */ color: oklch(37.7% 0.178 303.5);
Tailwind
colors: {
  custom: {
    50: '#8c5caf',
    500: '#57148c',
    950: '#000000',
  },
}
SCSS
$custom: #57148c;
$custom-light: #8c5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#57148c",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 140
  },
  "hsl": {
    "h": 273.5,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37683,
    "c": 0.17832,
    "h": 303.5
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#57148C
secondary
#76C03C
accent
#F23689
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #57148C

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

Preview Lab → · Contrast checker → · Palette generator →

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