#57336A#57336A

#57336A is a dark, moderate violet. Relative luminance 0.054; OKLCH L 39.0% C 0.098 H 312.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#57336A
RGBrgb(87, 51, 106)
HSLhsl(279, 35%, 31%)
HSVhsv(279, 52%, 42%)
CMYKcmyk(17.9%, 51.9%, 0%, 58.4%)
CIE-LABlab(27.94, 27.10, -25.85)
CIE-LCHlch(27.94, 37.45, 316.36°)
OKLaboklab(39% 0.0668 -0.072)
OKLCHoklch(39% 0.098 312.9)
XYZxyz(7.7154, 5.4347, 14.2754)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57336A #466A33
analogous
#3B336A #57336A #6A3361
triadic
#57336A #6A5733 #336A57
tetradic
#57336A #6A3B33 #466A33 #33616A
square
#57336A #6A3B33 #466A33 #33616A
split-complementary
#57336A #616A33 #336A3B
monochromatic
#130B17 #351F41 #57336A #794793 #9863B4

Accessibility & contrast

On white

10.06
#57336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#57336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57336A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57336A#FFFFFF#000000##FFFFFF
##57336A1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26406C
Deuteranopia (green-blind)
#314369
Tritanopia (blue-blind)
#553C49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57336a;
/* rgb */ color: rgb(87, 51, 106);
/* oklch */ color: oklch(39.0% 0.098 312.9);
Tailwind
colors: {
  custom: {
    50: '#886c95',
    500: '#57336a',
    950: '#000000',
  },
}
SCSS
$custom: #57336a;
$custom-light: #886c95;
$custom-dark: #000000;
JSON
{
  "hex": "#57336a",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 279.273,
    "s": 35.032,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39001,
    "c": 0.09822,
    "h": 312.9
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#57336A
secondary
#739B5E
accent
#CB5D83
background
#F8F6F9
surface
#F0EBF1
border
#CBC6CB
text
#0B070D
muted
#7C7A7E

Preview Lab

Preview with #57336A

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

Preview Lab → · Contrast checker → · Palette generator →

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