#57337D#57337D

#57337D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.2% C 0.123 H 303.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#57337D
RGBrgb(87, 51, 125)
HSLhsl(269, 42%, 35%)
HSVhsv(269, 59%, 49%)
CMYKcmyk(30.4%, 59.2%, 0%, 51%)
CIE-LABlab(29.09, 31.96, -36.07)
CIE-LCHlch(29.09, 48.19, 311.54°)
OKLaboklab(40.23% 0.0683 -0.1018)
OKLCHoklch(40.23% 0.123 303.8)
XYZxyz(8.8152, 5.8746, 20.0676)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57337D #597D33
analogous
#33347D #57337D #7C337D
triadic
#57337D #7D5733 #337D57
tetradic
#57337D #7D3334 #597D33 #337D7C
square
#57337D #7D3334 #597D33 #337D7C
split-complementary
#57337D #7D7C33 #347D33
monochromatic
#1A1026 #392152 #57337D #7545A8 #9469C2

Accessibility & contrast

On white

9.66
#57337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#57337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57337D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57337D#FFFFFF#000000##FFFFFF
##57337D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15447F
Deuteranopia (green-blind)
#23457B
Tritanopia (blue-blind)
#504153
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57337d;
/* rgb */ color: rgb(87, 51, 125);
/* oklch */ color: oklch(40.2% 0.123 303.8);
Tailwind
colors: {
  custom: {
    50: '#896ca3',
    500: '#57337d',
    950: '#000000',
  },
}
SCSS
$custom: #57337d;
$custom-light: #896ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#57337d",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 269.189,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40227,
    "c": 0.12261,
    "h": 303.8
  },
  "luminance": 0.05875
}

Semantic roles & 50–950 ramp

primary
#57337D
secondary
#87AA62
accent
#D25696
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #57337D

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

Preview Lab → · Contrast checker → · Palette generator →

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