#57397D#57397D

#57397D is a dark, moderate violet. Relative luminance 0.064; OKLCH L 41.2% C 0.113 H 302.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#57397D
RGBrgb(87, 57, 125)
HSLhsl(266, 37%, 36%)
HSVhsv(266, 54%, 49%)
CMYKcmyk(30.4%, 54.4%, 0%, 51%)
CIE-LABlab(30.48, 28.35, -33.86)
CIE-LCHlch(30.48, 44.16, 309.94°)
OKLaboklab(41.25% 0.0598 -0.0954)
OKLCHoklch(41.25% 0.113 302.1)
XYZxyz(9.0944, 6.4331, 20.1607)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57397D #5F7D39
analogous
#393D7D #57397D #79397D
triadic
#57397D #7D5739 #397D57
tetradic
#57397D #7D393D #5F7D39 #397D79
square
#57397D #7D393D #5F7D39 #397D79
split-complementary
#57397D #7D7939 #3D7D39
monochromatic
#1C1329 #3A2653 #57397D #744CA7 #9472BF

Accessibility & contrast

On white

9.18
#57397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57397D
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57397D#FFFFFF#000000##FFFFFF
##57397D1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21477F
Deuteranopia (green-blind)
#2A487B
Tritanopia (blue-blind)
#504655
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #57397d;
/* rgb */ color: rgb(87, 57, 125);
/* oklch */ color: oklch(41.2% 0.113 302.1);
Tailwind
colors: {
  custom: {
    50: '#8970a3',
    500: '#57397d',
    950: '#000000',
  },
}
SCSS
$custom: #57397d;
$custom-light: #8970a3;
$custom-dark: #000000;
JSON
{
  "hex": "#57397d",
  "rgb": {
    "r": 87,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 266.471,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41249,
    "c": 0.11255,
    "h": 302.1
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #57397D

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

Preview Lab → · Contrast checker → · Palette generator →

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