#57198F#57198F

#57198F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.177 H 302.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#57198F
RGBrgb(87, 25, 143)
HSLhsl(272, 70%, 33%)
HSVhsv(272, 83%, 56%)
CMYKcmyk(39.2%, 82.5%, 0%, 43.9%)
CIE-LABlab(25.88, 49.36, -52.52)
CIE-LCHlch(25.88, 72.07, 313.23°)
OKLaboklab(38.36% 0.0939 -0.15)
OKLCHoklch(38.36% 0.177 302.1)
XYZxyz(9.2348, 4.7046, 26.4028)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57198F #518F19
analogous
#1C198F #57198F #8F198C
triadic
#57198F #8F5719 #198F57
tetradic
#57198F #8F1C19 #518F19 #198C8F
square
#57198F #8F1C19 #518F19 #198C8F
split-complementary
#57198F #8C8F19 #198F1C
monochromatic
#180727 #37105B #57198F #7722C3 #9544DE

Accessibility & contrast

On white

10.82
#57198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#57198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57198F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57198F#FFFFFF#000000##FFFFFF
##57198F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#4B3A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #57198f;
/* rgb */ color: rgb(87, 25, 143);
/* oklch */ color: oklch(38.4% 0.177 302.1);
Tailwind
colors: {
  custom: {
    50: '#8c5fb1',
    500: '#57198f',
    950: '#000000',
  },
}
SCSS
$custom: #57198f;
$custom-light: #8c5fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#57198f",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 271.525,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38363,
    "c": 0.177,
    "h": 302.1
  },
  "luminance": 0.04705
}

Semantic roles & 50–950 ramp

primary
#57198F
secondary
#7FBF44
accent
#ED3B8F
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #57198F

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

Preview Lab → · Contrast checker → · Palette generator →

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