#57339D#57339D

#57339D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.163 H 294.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#57339D
RGBrgb(87, 51, 157)
HSLhsl(260, 51%, 41%)
HSVhsv(260, 68%, 62%)
CMYKcmyk(44.6%, 67.5%, 0%, 38.4%)
CIE-LABlab(31.41, 40.76, -52.08)
CIE-LCHlch(31.41, 66.13, 308.05°)
OKLaboklab(42.65% 0.0662 -0.1489)
OKLCHoklch(42.65% 0.163 294)
XYZxyz(11.1985, 6.8279, 32.6196)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57339D #799D33
analogous
#33449D #57339D #8C339D
triadic
#57339D #9D5733 #339D57
tetradic
#57339D #9D3344 #799D33 #339D8C
square
#57339D #9D3344 #799D33 #339D8C
split-complementary
#57339D #9D8C33 #449D33
monochromatic
#241541 #3D246F #57339D #7349C4 #9777D3

Accessibility & contrast

On white

8.88
#57339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#57339D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57339D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57339D#FFFFFF#000000##FFFFFF
##57339D1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#434C63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #57339d;
/* rgb */ color: rgb(87, 51, 157);
/* oklch */ color: oklch(42.6% 0.163 294.0);
Tailwind
colors: {
  custom: {
    50: '#8c6dbb',
    500: '#57339d',
    950: '#000000',
  },
}
SCSS
$custom: #57339d;
$custom-light: #8c6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#57339d",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 260.377,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42646,
    "c": 0.16295,
    "h": 294
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#57339D
secondary
#A2BB70
accent
#DA4DAB
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #57339D

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

Preview Lab → · Contrast checker → · Palette generator →

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