#57147D#57147D

#57147D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.164 H 309.0°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#57147D
RGBrgb(87, 20, 125)
HSLhsl(278, 72%, 28%)
HSVhsv(278, 84%, 49%)
CMYKcmyk(30.4%, 84%, 0%, 51%)
CIE-LABlab(23.70, 46.93, -44.78)
CIE-LCHlch(23.70, 64.87, 316.34°)
OKLaboklab(36.36% 0.1032 -0.1273)
OKLCHoklch(36.36% 0.164 309)
XYZxyz(7.8815, 4.0074, 19.7564)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57147D #3A7D14
analogous
#22147D #57147D #7D146E
triadic
#57147D #7D5714 #147D57
tetradic
#57147D #7D2214 #3A7D14 #146E7D
square
#57147D #7D2214 #3A7D14 #146E7D
split-complementary
#57147D #6E7D14 #147D22
monochromatic
#12041A #320C48 #57147D #7C1CB2 #9E2EDE

Accessibility & contrast

On white

11.66
#57147D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#57147D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57147D
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57147D#FFFFFF#000000##FFFFFF
##57147D1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#51304A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #57147d;
/* rgb */ color: rgb(87, 20, 125);
/* oklch */ color: oklch(36.4% 0.164 309.0);
Tailwind
colors: {
  custom: {
    50: '#8b5ba3',
    500: '#57147d',
    950: '#000000',
  },
}
SCSS
$custom: #57147d;
$custom-light: #8b5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#57147d",
  "rgb": {
    "r": 87,
    "g": 20,
    "b": 125
  },
  "hsl": {
    "h": 278.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3636,
    "c": 0.16382,
    "h": 309
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#57147D
secondary
#66B23A
accent
#EF397B
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C040F
muted
#7D797F

Preview Lab

Preview with #57147D

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

Preview Lab → · Contrast checker → · Palette generator →

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