#57195B#57195B

#57195B is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.3% C 0.125 H 325.3°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#57195B
RGBrgb(87, 25, 91)
HSLhsl(296, 57%, 23%)
HSVhsv(296, 73%, 36%)
CMYKcmyk(4.4%, 72.5%, 0%, 64.3%)
CIE-LABlab(21.86, 37.71, -25.68)
CIE-LCHlch(21.86, 45.62, 325.75°)
OKLaboklab(34.27% 0.1031 -0.0713)
OKLCHoklch(34.27% 0.125 325.3)
XYZxyz(6.1663, 3.4772, 10.2419)
Luminance0.0348 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57195B #1D5B19
analogous
#36195B #57195B #5B193E
triadic
#57195B #5B5719 #195B57
tetradic
#57195B #5B3619 #1D5B19 #193E5B
square
#57195B #5B3619 #1D5B19 #193E5B
split-complementary
#57195B #3E5B19 #195B36
monochromatic
#170718 #290C2B #57195B #85268B #B333BB

Accessibility & contrast

On white

12.39
#57195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#57195B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57195B
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57195B#FFFFFF#000000##FFFFFF
##57195B1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2F5D
Deuteranopia (green-blind)
#263759
Tritanopia (blue-blind)
#592338
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #57195b;
/* rgb */ color: rgb(87, 25, 91);
/* oklch */ color: oklch(34.3% 0.125 325.3);
Tailwind
colors: {
  custom: {
    50: '#895c8a',
    500: '#57195b',
    950: '#000000',
  },
}
SCSS
$custom: #57195b;
$custom-light: #895c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#57195b",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 296.364,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34267,
    "c": 0.12532,
    "h": 325.3
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#57195B
secondary
#44913F
accent
#E04851
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #57195B

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

Preview Lab → · Contrast checker → · Palette generator →

#57195B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva