#57388E#57388E

#57388E is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.3% C 0.137 H 296.7°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#57388E
RGBrgb(87, 56, 142)
HSLhsl(262, 43%, 39%)
HSVhsv(262, 61%, 56%)
CMYKcmyk(38.7%, 60.6%, 0%, 44.3%)
CIE-LABlab(31.36, 33.65, -42.99)
CIE-LCHlch(31.36, 54.59, 308.05°)
OKLaboklab(42.26% 0.0615 -0.1222)
OKLCHoklch(42.26% 0.137 296.7)
XYZxyz(10.2259, 6.8074, 26.3611)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57388E #6F8E38
analogous
#38448E #57388E #82388E
triadic
#57388E #8E5738 #388E57
tetradic
#57388E #8E3844 #6F8E38 #388E82
square
#57388E #8E3844 #6F8E38 #388E82
split-complementary
#57388E #8E8238 #448E38
monochromatic
#211536 #3C2762 #57388E #724BB8 #9577C9

Accessibility & contrast

On white

8.89
#57388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#57388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57388E
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57388E#FFFFFF#000000##FFFFFF
##57388E1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024A91
Deuteranopia (green-blind)
#15498C
Tritanopia (blue-blind)
#4A4A5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #57388e;
/* rgb */ color: rgb(87, 56, 142);
/* oklch */ color: oklch(42.3% 0.137 296.7);
Tailwind
colors: {
  custom: {
    50: '#8a70b0',
    500: '#57388e',
    950: '#000000',
  },
}
SCSS
$custom: #57388e;
$custom-light: #8a70b0;
$custom-dark: #000000;
JSON
{
  "hex": "#57388e",
  "rgb": {
    "r": 87,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 261.628,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42259,
    "c": 0.13679,
    "h": 296.7
  },
  "luminance": 0.06808
}

Semantic roles & 50–950 ramp

primary
#57388E
secondary
#9AB26F
accent
#D355A6
background
#F8F6FA
surface
#F0ECF5
border
#CBC7CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57388E

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

Preview Lab → · Contrast checker → · Palette generator →

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