#57199E#57199E

#57199E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.8% C 0.192 H 297.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#57199E
RGBrgb(87, 25, 158)
HSLhsl(268, 73%, 36%)
HSVhsv(268, 84%, 62%)
CMYKcmyk(44.9%, 84.2%, 0%, 38%)
CIE-LABlab(27.27, 53.01, -59.46)
CIE-LCHlch(27.27, 79.66, 311.72°)
OKLaboklab(39.75% 0.0889 -0.1704)
OKLCHoklch(39.75% 0.192 297.5)
XYZxyz(10.4480, 5.1899, 32.7924)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57199E #609E19
analogous
#191D9E #57199E #99199E
triadic
#57199E #9E5719 #199E57
tetradic
#57199E #9E191D #609E19 #199E99
square
#57199E #9E191D #609E19 #199E99
split-complementary
#57199E #9E9919 #1D9E19
monochromatic
#1D0834 #3A1169 #57199E #7421D3 #944EE3

Accessibility & contrast

On white

10.30
#57199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#57199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57199E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57199E#FFFFFF#000000##FFFFFF
##57199E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#44405E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #57199e;
/* rgb */ color: rgb(87, 25, 158);
/* oklch */ color: oklch(39.8% 0.192 297.5);
Tailwind
colors: {
  custom: {
    50: '#8e60bc',
    500: '#57199e',
    950: '#000000',
  },
}
SCSS
$custom: #57199e;
$custom-light: #8e60bc;
$custom-dark: #000000;
JSON
{
  "hex": "#57199e",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 267.97,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39753,
    "c": 0.19216,
    "h": 297.5
  },
  "luminance": 0.0519
}

Semantic roles & 50–950 ramp

primary
#57199E
secondary
#8DC54E
accent
#EF389A
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #57199E

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

Preview Lab → · Contrast checker → · Palette generator →

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