#57197C#57197C

#57197C is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.158 H 308.9°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#57197C
RGBrgb(87, 25, 124)
HSLhsl(278, 66%, 29%)
HSVhsv(278, 80%, 49%)
CMYKcmyk(29.8%, 79.8%, 0%, 51.4%)
CIE-LABlab(24.25, 44.87, -43.25)
CIE-LCHlch(24.25, 62.32, 316.05°)
OKLaboklab(36.72% 0.0991 -0.1228)
OKLCHoklch(36.72% 0.158 308.9)
XYZxyz(7.9155, 4.1769, 19.4541)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57197C #3E7C19
analogous
#26197C #57197C #7C1970
triadic
#57197C #7C5719 #197C57
tetradic
#57197C #7C2619 #3E7C19 #19707C
square
#57197C #7C2619 #3E7C19 #19707C
split-complementary
#57197C #707C19 #197C26
monochromatic
#120519 #330F49 #57197C #7B23AF #9C38D7

Accessibility & contrast

On white

11.44
#57197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#57197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57197C
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57197C#FFFFFF#000000##FFFFFF
##57197C1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#51324A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #57197c;
/* rgb */ color: rgb(87, 25, 124);
/* oklch */ color: oklch(36.7% 0.158 308.9);
Tailwind
colors: {
  custom: {
    50: '#8b5da3',
    500: '#57197c',
    950: '#000000',
  },
}
SCSS
$custom: #57197c;
$custom-light: #8b5da3;
$custom-dark: #000000;
JSON
{
  "hex": "#57197c",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 277.576,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3672,
    "c": 0.15782,
    "h": 308.9
  },
  "luminance": 0.04177
}

Semantic roles & 50–950 ramp

primary
#57197C
secondary
#6AB040
accent
#E93E7E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #57197C

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

Preview Lab → · Contrast checker → · Palette generator →

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