#57188E#57188E

#57188E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.177 H 302.5°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#57188E
RGBrgb(87, 24, 142)
HSLhsl(272, 71%, 33%)
HSVhsv(272, 83%, 56%)
CMYKcmyk(38.7%, 83.1%, 0%, 44.3%)
CIE-LABlab(25.66, 49.49, -52.25)
CIE-LCHlch(25.66, 71.96, 313.44°)
OKLaboklab(38.19% 0.095 -0.1492)
OKLCHoklch(38.19% 0.177 302.5)
XYZxyz(9.1384, 4.6325, 25.9987)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57188E #4F8E18
analogous
#1C188E #57188E #8E188A
triadic
#57188E #8E5718 #188E57
tetradic
#57188E #8E1C18 #4F8E18 #188A8E
square
#57188E #8E1C18 #4F8E18 #188A8E
split-complementary
#57188E #8A8E18 #188E1C
monochromatic
#170625 #370F5A #57188E #7721C2 #9641DF

Accessibility & contrast

On white

10.90
#57188E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#57188E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57188E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57188E#FFFFFF#000000##FFFFFF
##57188E1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#4B3954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #57188e;
/* rgb */ color: rgb(87, 24, 142);
/* oklch */ color: oklch(38.2% 0.177 302.5);
Tailwind
colors: {
  custom: {
    50: '#8c5eb0',
    500: '#57188e',
    950: '#000000',
  },
}
SCSS
$custom: #57188e;
$custom-light: #8c5eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#57188e",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 272.034,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38186,
    "c": 0.1769,
    "h": 302.5
  },
  "luminance": 0.04632
}

Semantic roles & 50–950 ramp

primary
#57188E
secondary
#7DC042
accent
#EE3A8E
background
#F9F5FA
surface
#F1EAF5
border
#CBC6CF
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #57188E

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

Preview Lab → · Contrast checker → · Palette generator →

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