#57138C#57138C

#57138C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.179 H 303.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#57138C
RGBrgb(87, 19, 140)
HSLhsl(274, 76%, 31%)
HSVhsv(274, 86%, 55%)
CMYKcmyk(37.9%, 86.4%, 0%, 45.1%)
CIE-LABlab(24.91, 50.69, -52.24)
CIE-LCHlch(24.91, 72.79, 314.14°)
OKLaboklab(37.61% 0.0992 -0.1491)
OKLCHoklch(37.61% 0.179 303.6)
XYZxyz(8.8959, 4.3854, 25.1837)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57138C #488C13
analogous
#1A138C #57138C #8C1384
triadic
#57138C #8C5713 #138C57
tetradic
#57138C #8C1A13 #488C13 #13848C
square
#57138C #8C1A13 #488C13 #13848C
split-complementary
#57138C #848C13 #138C1A
monochromatic
#140420 #360C56 #57138C #781AC2 #9736E4

Accessibility & contrast

On white

11.19
#57138C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#57138C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57138C
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57138C#FFFFFF#000000##FFFFFF
##57138C1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#4C3652
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #57138c;
/* rgb */ color: rgb(87, 19, 140);
/* oklch */ color: oklch(37.6% 0.179 303.6);
Tailwind
colors: {
  custom: {
    50: '#8c5caf',
    500: '#57138c',
    950: '#000000',
  },
}
SCSS
$custom: #57138c;
$custom-light: #8c5caf;
$custom-dark: #000000;
JSON
{
  "hex": "#57138c",
  "rgb": {
    "r": 87,
    "g": 19,
    "b": 140
  },
  "hsl": {
    "h": 273.719,
    "s": 76.101,
    "l": 31.176
  },
  "oklch": {
    "l": 0.37609,
    "c": 0.17911,
    "h": 303.6
  },
  "luminance": 0.04385
}

Semantic roles & 50–950 ramp

primary
#57138C
secondary
#75C03B
accent
#F33588
background
#F9F5FA
surface
#F1E9F5
border
#CBC5CF
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #57138C

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

Preview Lab → · Contrast checker → · Palette generator →

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