#57397E#57397E

#57397E is a dark, moderate violet. Relative luminance 0.065; OKLCH L 41.3% C 0.114 H 301.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#57397E
RGBrgb(87, 57, 126)
HSLhsl(266, 38%, 36%)
HSVhsv(266, 55%, 49%)
CMYKcmyk(31%, 54.8%, 0%, 50.6%)
CIE-LABlab(30.54, 28.62, -34.38)
CIE-LCHlch(30.54, 44.73, 309.77°)
OKLaboklab(41.32% 0.0598 -0.0969)
OKLCHoklch(41.32% 0.114 301.7)
XYZxyz(9.1586, 6.4588, 20.4988)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57397E #607E39
analogous
#393D7E #57397E #79397E
triadic
#57397E #7E5739 #397E57
tetradic
#57397E #7E393D #607E39 #397E79
square
#57397E #7E393D #607E39 #397E79
split-complementary
#57397E #7E7939 #3D7E39
monochromatic
#1D132A #3A2654 #57397E #744CA8 #9472BF

Accessibility & contrast

On white

9.16
#57397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#57397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57397E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57397E#FFFFFF#000000##FFFFFF
##57397E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214780
Deuteranopia (green-blind)
#29487C
Tritanopia (blue-blind)
#504656
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #57397e;
/* rgb */ color: rgb(87, 57, 126);
/* oklch */ color: oklch(41.3% 0.114 301.7);
Tailwind
colors: {
  custom: {
    50: '#8970a4',
    500: '#57397e',
    950: '#000000',
  },
}
SCSS
$custom: #57397e;
$custom-light: #8970a4;
$custom-dark: #000000;
JSON
{
  "hex": "#57397e",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 266.087,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.1139,
    "h": 301.7
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#57397E
secondary
#8DA86A
accent
#CE5A9B
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #57397E

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

Preview Lab → · Contrast checker → · Palette generator →

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