#57196D#57196D

#57196D is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.5% C 0.143 H 315.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#57196D
RGBrgb(87, 25, 109)
HSLhsl(284, 63%, 26%)
HSVhsv(284, 77%, 43%)
CMYKcmyk(20.2%, 77.1%, 0%, 57.3%)
CIE-LABlab(23.09, 41.48, -35.52)
CIE-LCHlch(23.09, 54.61, 319.43°)
OKLaboklab(35.53% 0.1019 -0.1001)
OKLCHoklch(35.53% 0.143 315.5)
XYZxyz(7.0380, 3.8259, 14.8328)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57196D #2F6D19
analogous
#2D196D #57196D #6D1959
triadic
#57196D #6D5719 #196D57
tetradic
#57196D #6D2D19 #2F6D19 #19596D
square
#57196D #6D2D19 #2F6D19 #19596D
split-complementary
#57196D #596D19 #196D2D
monochromatic
#140619 #2F0E3B #57196D #7F249F #A631D0

Accessibility & contrast

On white

11.90
#57196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#57196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57196D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57196D#FFFFFF#000000##FFFFFF
##57196D1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#17396B
Tritanopia (blue-blind)
#552B41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #57196d;
/* rgb */ color: rgb(87, 25, 109);
/* oklch */ color: oklch(35.5% 0.143 315.5);
Tailwind
colors: {
  custom: {
    50: '#8a5d97',
    500: '#57196d',
    950: '#000000',
  },
}
SCSS
$custom: #57196d;
$custom-light: #8a5d97;
$custom-dark: #000000;
JSON
{
  "hex": "#57196d",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 284.286,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35535,
    "c": 0.14282,
    "h": 315.5
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#57196D
secondary
#59A23F
accent
#E6426D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57196D

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

Preview Lab → · Contrast checker → · Palette generator →

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