#57195F#57195F

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

Color values

HEX#57195F
RGBrgb(87, 25, 95)
HSLhsl(293, 58%, 24%)
HSVhsv(293, 74%, 37%)
CMYKcmyk(8.4%, 73.7%, 0%, 62.7%)
CIE-LABlab(22.12, 38.52, -27.92)
CIE-LCHlch(22.12, 47.57, 324.06°)
OKLaboklab(34.53% 0.103 -0.0778)
OKLCHoklch(34.53% 0.129 322.9)
XYZxyz(6.3435, 3.5481, 11.1750)
Luminance0.0355 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57195F #215F19
analogous
#34195F #57195F #5F1944
triadic
#57195F #5F5719 #195F57
tetradic
#57195F #5F3419 #215F19 #19445F
square
#57195F #5F3419 #215F19 #19445F
split-complementary
#57195F #445F19 #195F34
monochromatic
#160618 #2B0C2F #57195F #83268F #B032C0

Accessibility & contrast

On white

12.28
#57195F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57195F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57195F#FFFFFF#000000##FFFFFF
##57195F1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043061
Deuteranopia (green-blind)
#24375D
Tritanopia (blue-blind)
#58253A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #57195f;
/* rgb */ color: rgb(87, 25, 95);
/* oklch */ color: oklch(34.5% 0.129 322.9);
Tailwind
colors: {
  custom: {
    50: '#895c8d',
    500: '#57195f',
    950: '#000000',
  },
}
SCSS
$custom: #57195f;
$custom-light: #895c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#57195f",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 95
  },
  "hsl": {
    "h": 293.143,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.34532,
    "c": 0.12912,
    "h": 322.9
  },
  "luminance": 0.03548
}

Semantic roles & 50–950 ramp

primary
#57195F
secondary
#49953F
accent
#E24658
background
#F8F5F8
surface
#F0E9F0
border
#CBC5CB
text
#0C040C
muted
#7D797D

Preview Lab

Preview with #57195F

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

Preview Lab → · Contrast checker → · Palette generator →

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