#57339E#57339E

#57339E is a dark, vivid violet. Relative luminance 0.069; OKLCH L 42.7% C 0.164 H 293.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#57339E
RGBrgb(87, 51, 158)
HSLhsl(260, 51%, 41%)
HSVhsv(260, 68%, 62%)
CMYKcmyk(44.9%, 67.7%, 0%, 38%)
CIE-LABlab(31.49, 41.04, -52.56)
CIE-LCHlch(31.49, 66.68, 307.98°)
OKLaboklab(42.73% 0.0661 -0.1503)
OKLCHoklch(42.73% 0.164 293.7)
XYZxyz(11.2842, 6.8622, 33.0711)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57339E #7A9E33
analogous
#33449E #57339E #8C339E
triadic
#57339E #9E5733 #339E57
tetradic
#57339E #9E3344 #7A9E33 #339E8C
square
#57339E #9E3344 #7A9E33 #339E8C
split-complementary
#57339E #9E8C33 #449E33
monochromatic
#241541 #3E2470 #57339E #734AC4 #9778D3

Accessibility & contrast

On white

8.85
#57339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57339E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57339E#FFFFFF#000000##FFFFFF
##57339E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00489C
Tritanopia (blue-blind)
#434D64
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #57339e;
/* rgb */ color: rgb(87, 51, 158);
/* oklch */ color: oklch(42.7% 0.164 293.7);
Tailwind
colors: {
  custom: {
    50: '#8c6dbb',
    500: '#57339e',
    950: '#000000',
  },
}
SCSS
$custom: #57339e;
$custom-light: #8c6dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#57339e",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 260.187,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42728,
    "c": 0.16418,
    "h": 293.7
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#57339E
secondary
#A3BC71
accent
#DB4DAB
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #57339E

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

Preview Lab → · Contrast checker → · Palette generator →

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