#57337E#57337E

#57337E is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.124 H 303.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#57337E
RGBrgb(87, 51, 126)
HSLhsl(269, 42%, 35%)
HSVhsv(269, 60%, 49%)
CMYKcmyk(31%, 59.5%, 0%, 50.6%)
CIE-LABlab(29.16, 32.22, -36.59)
CIE-LCHlch(29.16, 48.76, 311.37°)
OKLaboklab(40.3% 0.0683 -0.1034)
OKLCHoklch(40.3% 0.124 303.4)
XYZxyz(8.8794, 5.9003, 20.4057)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57337E #5A7E33
analogous
#33357E #57337E #7D337E
triadic
#57337E #7E5733 #337E57
tetradic
#57337E #7E3335 #5A7E33 #337E7D
square
#57337E #7E3335 #5A7E33 #337E7D
split-complementary
#57337E #7E7D33 #357E33
monochromatic
#1B1027 #392152 #57337E #7545AA #9469C2

Accessibility & contrast

On white

9.63
#57337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#57337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57337E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57337E#FFFFFF#000000##FFFFFF
##57337E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134480
Deuteranopia (green-blind)
#22457C
Tritanopia (blue-blind)
#504253
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57337e;
/* rgb */ color: rgb(87, 51, 126);
/* oklch */ color: oklch(40.3% 0.124 303.4);
Tailwind
colors: {
  custom: {
    50: '#896ca4',
    500: '#57337e',
    950: '#000000',
  },
}
SCSS
$custom: #57337e;
$custom-light: #896ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#57337e",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 268.8,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.12389,
    "h": 303.4
  },
  "luminance": 0.059
}

Semantic roles & 50–950 ramp

primary
#57337E
secondary
#88AA63
accent
#D25696
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #57337E

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

Preview Lab → · Contrast checker → · Palette generator →

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