#57196A#57196A

#57196A is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.3% C 0.140 H 317.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#57196A
RGBrgb(87, 25, 106)
HSLhsl(286, 62%, 26%)
HSVhsv(286, 76%, 42%)
CMYKcmyk(17.9%, 76.4%, 0%, 58.4%)
CIE-LABlab(22.87, 40.83, -33.92)
CIE-LCHlch(22.87, 53.08, 320.28°)
OKLaboklab(35.31% 0.1023 -0.0954)
OKLCHoklch(35.31% 0.14 317)
XYZxyz(6.8792, 3.7624, 13.9967)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57196A #2C6A19
analogous
#2E196A #57196A #6A1954
triadic
#57196A #6A5719 #196A57
tetradic
#57196A #6A2E19 #2C6A19 #19546A
square
#57196A #6A2E19 #2C6A19 #19546A
split-complementary
#57196A #546A19 #196A2E
monochromatic
#140619 #2E0D38 #57196A #80259C #A830CD

Accessibility & contrast

On white

11.98
#57196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#57196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57196A
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57196A#FFFFFF#000000##FFFFFF
##57196A1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#1A3868
Tritanopia (blue-blind)
#562A40
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #57196a;
/* rgb */ color: rgb(87, 25, 106);
/* oklch */ color: oklch(35.3% 0.140 317.0);
Tailwind
colors: {
  custom: {
    50: '#895d95',
    500: '#57196a',
    950: '#000000',
  },
}
SCSS
$custom: #57196a;
$custom-light: #895d95;
$custom-dark: #000000;
JSON
{
  "hex": "#57196a",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 285.926,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.35311,
    "c": 0.13984,
    "h": 317
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#57196A
secondary
#56A03F
accent
#E54369
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #57196A

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

Preview Lab → · Contrast checker → · Palette generator →

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