#57337B#57337B

#57337B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.120 H 304.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#57337B
RGBrgb(87, 51, 123)
HSLhsl(270, 41%, 34%)
HSVhsv(270, 59%, 48%)
CMYKcmyk(29.3%, 58.5%, 0%, 51.8%)
CIE-LABlab(28.96, 31.43, -35.02)
CIE-LCHlch(28.96, 47.05, 311.91°)
OKLaboklab(40.09% 0.0682 -0.0988)
OKLCHoklch(40.09% 0.12 304.6)
XYZxyz(8.6887, 5.8240, 19.4015)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57337B #577B33
analogous
#33337B #57337B #7B337B
triadic
#57337B #7B5733 #337B57
tetradic
#57337B #7B3333 #577B33 #337B7B
square
#57337B #7B3333 #577B33 #337B7B
split-complementary
#57337B #7B7B33 #337B33
monochromatic
#1A0F24 #382150 #57337B #7645A6 #9468C0

Accessibility & contrast

On white

9.70
#57337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#57337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57337B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57337B#FFFFFF#000000##FFFFFF
##57337B1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17437D
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#514152
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #57337b;
/* rgb */ color: rgb(87, 51, 123);
/* oklch */ color: oklch(40.1% 0.120 304.6);
Tailwind
colors: {
  custom: {
    50: '#896ca2',
    500: '#57337b',
    950: '#000000',
  },
}
SCSS
$custom: #57337b;
$custom-light: #896ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#57337b",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 270,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4009,
    "c": 0.12003,
    "h": 304.6
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#57337B
secondary
#85A862
accent
#D15794
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #57337B

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

Preview Lab → · Contrast checker → · Palette generator →

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