#57187A#57187A

#57187A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.157 H 309.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#57187A
RGBrgb(87, 24, 122)
HSLhsl(279, 67%, 29%)
HSVhsv(279, 80%, 48%)
CMYKcmyk(28.7%, 80.3%, 0%, 52.2%)
CIE-LABlab(23.95, 44.80, -42.47)
CIE-LCHlch(23.95, 61.73, 316.53°)
OKLaboklab(36.46% 0.1005 -0.1205)
OKLCHoklch(36.46% 0.157 309.8)
XYZxyz(7.7693, 4.0848, 18.7877)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57187A #3B7A18
analogous
#26187A #57187A #7A186C
triadic
#57187A #7A5718 #187A57
tetradic
#57187A #7A2618 #3B7A18 #186C7A
square
#57187A #7A2618 #3B7A18 #186C7A
split-complementary
#57187A #6C7A18 #187A26
monochromatic
#12051A #330E47 #57187A #7B22AD #9D35D7

Accessibility & contrast

On white

11.56
#57187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#57187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57187A
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57187A#FFFFFF#000000##FFFFFF
##57187A1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#523049
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #57187a;
/* rgb */ color: rgb(87, 24, 122);
/* oklch */ color: oklch(36.5% 0.157 309.8);
Tailwind
colors: {
  custom: {
    50: '#8b5da1',
    500: '#57187a',
    950: '#000000',
  },
}
SCSS
$custom: #57187a;
$custom-light: #8b5da1;
$custom-dark: #000000;
JSON
{
  "hex": "#57187a",
  "rgb": {
    "r": 87,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 278.571,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3646,
    "c": 0.1569,
    "h": 309.8
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#57187A
secondary
#67AF3F
accent
#EA3E7B
background
#F8F5FA
surface
#F0E9F3
border
#CBC5CD
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #57187A

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

Preview Lab → · Contrast checker → · Palette generator →

#57187A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva