#57195E#57195E

#57195E is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.5% C 0.128 H 323.5°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#57195E
RGBrgb(87, 25, 94)
HSLhsl(294, 58%, 23%)
HSVhsv(294, 73%, 37%)
CMYKcmyk(7.4%, 73.4%, 0%, 63.1%)
CIE-LABlab(22.05, 38.31, -27.36)
CIE-LCHlch(22.05, 47.08, 324.47°)
OKLaboklab(34.47% 0.103 -0.0762)
OKLCHoklch(34.47% 0.128 323.5)
XYZxyz(6.2983, 3.5300, 10.9371)
Luminance0.0353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57195E #205E19
analogous
#34195E #57195E #5E1942
triadic
#57195E #5E5719 #195E57
tetradic
#57195E #5E3419 #205E19 #19425E
square
#57195E #5E3419 #205E19 #19425E
split-complementary
#57195E #425E19 #195E34
monochromatic
#160618 #2A0C2E #57195E #84268E #B033BF

Accessibility & contrast

On white

12.31
#57195E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#57195E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57195E
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57195E#FFFFFF#000000##FFFFFF
##57195E1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063060
Deuteranopia (green-blind)
#24375C
Tritanopia (blue-blind)
#592539
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #57195e;
/* rgb */ color: rgb(87, 25, 94);
/* oklch */ color: oklch(34.5% 0.128 323.5);
Tailwind
colors: {
  custom: {
    50: '#895c8c',
    500: '#57195e',
    950: '#000000',
  },
}
SCSS
$custom: #57195e;
$custom-light: #895c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#57195e",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 94
  },
  "hsl": {
    "h": 293.913,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34465,
    "c": 0.12817,
    "h": 323.5
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#57195E
secondary
#47943F
accent
#E14756
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57195E

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

Preview Lab → · Contrast checker → · Palette generator →

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