#57349B#57349B

#57349B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.159 H 294.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#57349B
RGBrgb(87, 52, 155)
HSLhsl(260, 50%, 41%)
HSVhsv(260, 66%, 61%)
CMYKcmyk(43.9%, 66.5%, 0%, 39.2%)
CIE-LABlab(31.46, 39.64, -50.79)
CIE-LCHlch(31.46, 64.42, 307.97°)
OKLaboklab(42.63% 0.0654 -0.1451)
OKLCHoklch(42.63% 0.159 294.3)
XYZxyz(11.0733, 6.8485, 31.7425)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57349B #789B34
analogous
#34459B #57349B #8A349B
triadic
#57349B #9B5734 #349B57
tetradic
#57349B #9B3445 #789B34 #349B8A
square
#57349B #9B3445 #789B34 #349B8A
split-complementary
#57349B #9B8A34 #459B34
monochromatic
#24153F #3D256D #57349B #734AC2 #9678D2

Accessibility & contrast

On white

8.86
#57349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#57349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57349B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57349B#FFFFFF#000000##FFFFFF
##57349B1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#444C63
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #57349b;
/* rgb */ color: rgb(87, 52, 155);
/* oklch */ color: oklch(42.6% 0.159 294.3);
Tailwind
colors: {
  custom: {
    50: '#8c6eb9',
    500: '#57349b',
    950: '#000000',
  },
}
SCSS
$custom: #57349b;
$custom-light: #8c6eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#57349b",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 260.388,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42631,
    "c": 0.15914,
    "h": 294.3
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#57349B
secondary
#A1BA71
accent
#D94FAA
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0D0712
muted
#7D7A81

Preview Lab

Preview with #57349B

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

Preview Lab → · Contrast checker → · Palette generator →

#57349B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva