#57138A#57138A

#57138A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.177 H 304.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#57138A
RGBrgb(87, 19, 138)
HSLhsl(274, 76%, 31%)
HSVhsv(274, 86%, 54%)
CMYKcmyk(37%, 86.2%, 0%, 45.9%)
CIE-LABlab(24.72, 50.23, -51.29)
CIE-LCHlch(24.72, 71.79, 314.40°)
OKLaboklab(37.43% 0.0999 -0.1464)
OKLCHoklch(37.43% 0.177 304.3)
XYZxyz(8.7497, 4.3270, 24.4141)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57138A #468A13
analogous
#1C138A #57138A #8A1381
triadic
#57138A #8A5713 #138A57
tetradic
#57138A #8A1C13 #468A13 #13818A
square
#57138A #8A1C13 #468A13 #13818A
split-complementary
#57138A #818A13 #138A1C
monochromatic
#13041E #350C54 #57138A #791AC0 #9834E3

Accessibility & contrast

On white

11.26
#57138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#57138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57138A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57138A#FFFFFF#000000##FFFFFF
##57138A1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#4D3551
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #57138a;
/* rgb */ color: rgb(87, 19, 138);
/* oklch */ color: oklch(37.4% 0.177 304.3);
Tailwind
colors: {
  custom: {
    50: '#8c5cad',
    500: '#57138a',
    950: '#000000',
  },
}
SCSS
$custom: #57138a;
$custom-light: #8c5cad;
$custom-dark: #000000;
JSON
{
  "hex": "#57138a",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 274.286,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37426,
    "c": 0.17719,
    "h": 304.3
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#57138A
secondary
#73BE3A
accent
#F23586
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0410
muted
#7E797F

Preview Lab

Preview with #57138A

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

Preview Lab → · Contrast checker → · Palette generator →

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