#57339A#57339A

#57339A is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.4% C 0.159 H 294.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#57339A
RGBrgb(87, 51, 154)
HSLhsl(261, 50%, 40%)
HSVhsv(261, 67%, 60%)
CMYKcmyk(43.5%, 66.9%, 0%, 39.6%)
CIE-LABlab(31.18, 39.91, -50.64)
CIE-LCHlch(31.18, 64.48, 308.24°)
OKLaboklab(42.4% 0.0666 -0.1446)
OKLCHoklch(42.4% 0.159 294.7)
XYZxyz(10.9455, 6.7267, 31.2873)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57339A #769A33
analogous
#33429A #57339A #8B339A
triadic
#57339A #9A5733 #339A57
tetradic
#57339A #9A3342 #769A33 #339A8B
square
#57339A #9A3342 #769A33 #339A8B
split-complementary
#57339A #9A8B33 #429A33
monochromatic
#23153E #3D246C #57339A #7348C2 #9676D2

Accessibility & contrast

On white

8.95
#57339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#57339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57339A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57339A#FFFFFF#000000##FFFFFF
##57339A1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#454B62
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #57339a;
/* rgb */ color: rgb(87, 51, 154);
/* oklch */ color: oklch(42.4% 0.159 294.7);
Tailwind
colors: {
  custom: {
    50: '#8c6db9',
    500: '#57339a',
    950: '#000000',
  },
}
SCSS
$custom: #57339a;
$custom-light: #8c6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#57339a",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 260.971,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42403,
    "c": 0.15925,
    "h": 294.7
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#57339A
secondary
#A0BA6F
accent
#DA4EA9
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #57339A

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

Preview Lab → · Contrast checker → · Palette generator →

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