#57196F#57196F

#57196F is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.7% C 0.145 H 314.6°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#57196F
RGBrgb(87, 25, 111)
HSLhsl(283, 63%, 27%)
HSVhsv(283, 77%, 44%)
CMYKcmyk(21.6%, 77.5%, 0%, 56.5%)
CIE-LABlab(23.23, 41.92, -36.57)
CIE-LCHlch(23.23, 55.63, 318.90°)
OKLaboklab(35.69% 0.1016 -0.1032)
OKLCHoklch(35.69% 0.145 314.6)
XYZxyz(7.1469, 3.8694, 15.4062)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57196F #316F19
analogous
#2C196F #57196F #6F195C
triadic
#57196F #6F5719 #196F57
tetradic
#57196F #6F2C19 #316F19 #195C6F
square
#57196F #6F2C19 #316F19 #195C6F
split-complementary
#57196F #5C6F19 #196F2C
monochromatic
#140619 #300E3D #57196F #7E24A1 #A432D1

Accessibility & contrast

On white

11.84
#57196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57196F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57196F#FFFFFF#000000##FFFFFF
##57196F1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#14396D
Tritanopia (blue-blind)
#552C43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #57196f;
/* rgb */ color: rgb(87, 25, 111);
/* oklch */ color: oklch(35.7% 0.145 314.6);
Tailwind
colors: {
  custom: {
    50: '#8a5d99',
    500: '#57196f',
    950: '#000000',
  },
}
SCSS
$custom: #57196f;
$custom-light: #8a5d99;
$custom-dark: #000000;
JSON
{
  "hex": "#57196f",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 283.256,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35686,
    "c": 0.1448,
    "h": 314.6
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#57196F
secondary
#5CA43F
accent
#E64270
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #57196F

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

Preview Lab → · Contrast checker → · Palette generator →

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