#57199C#57199C

#57199C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.6% C 0.190 H 298.1°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#57199C
RGBrgb(87, 25, 156)
HSLhsl(268, 72%, 35%)
HSVhsv(268, 84%, 61%)
CMYKcmyk(44.2%, 84%, 0%, 38.8%)
CIE-LABlab(27.08, 52.52, -58.55)
CIE-LCHlch(27.08, 78.66, 311.89°)
OKLaboklab(39.56% 0.0896 -0.1677)
OKLCHoklch(39.56% 0.19 298.1)
XYZxyz(10.2773, 5.1216, 31.8931)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57199C #5E9C19
analogous
#191C9C #57199C #98199C
triadic
#57199C #9C5719 #199C57
tetradic
#57199C #9C191C #5E9C19 #199C98
square
#57199C #9C191C #5E9C19 #199C98
split-complementary
#57199C #9C9819 #1C9C19
monochromatic
#1C0833 #3A1167 #57199C #7421D1 #944DE2

Accessibility & contrast

On white

10.37
#57199C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#57199C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57199C
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57199C#FFFFFF#000000##FFFFFF
##57199C1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#45405C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #57199c;
/* rgb */ color: rgb(87, 25, 156);
/* oklch */ color: oklch(39.6% 0.190 298.1);
Tailwind
colors: {
  custom: {
    50: '#8e5fba',
    500: '#57199c',
    950: '#000000',
  },
}
SCSS
$custom: #57199c;
$custom-light: #8e5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#57199c",
  "rgb": {
    "r": 87,
    "g": 25,
    "b": 156
  },
  "hsl": {
    "h": 268.397,
    "s": 72.376,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39563,
    "c": 0.19015,
    "h": 298.1
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#57199C
secondary
#8CC44C
accent
#EF3999
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0512
muted
#7E7981

Preview Lab

Preview with #57199C

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

Preview Lab → · Contrast checker → · Palette generator →

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