#57349E#57349E

#57349E is a dark, vivid violet. Relative luminance 0.070; OKLCH L 42.9% C 0.163 H 293.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#57349E
RGBrgb(87, 52, 158)
HSLhsl(260, 50%, 41%)
HSVhsv(260, 67%, 62%)
CMYKcmyk(44.9%, 67.1%, 0%, 38%)
CIE-LABlab(31.69, 40.49, -52.23)
CIE-LCHlch(31.69, 66.08, 307.78°)
OKLaboklab(42.87% 0.065 -0.1493)
OKLCHoklch(42.87% 0.163 293.5)
XYZxyz(11.3283, 6.9505, 33.0858)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57349E #7B9E34
analogous
#34469E #57349E #8C349E
triadic
#57349E #9E5734 #349E57
tetradic
#57349E #9E3446 #7B9E34 #349E8C
square
#57349E #9E3446 #7B9E34 #349E8C
split-complementary
#57349E #9E8C34 #469E34
monochromatic
#241642 #3E2570 #57349E #734BC4 #9779D3

Accessibility & contrast

On white

8.79
#57349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#57349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57349E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57349E#FFFFFF#000000##FFFFFF
##57349E1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#434D64
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #57349e;
/* rgb */ color: rgb(87, 52, 158);
/* oklch */ color: oklch(42.9% 0.163 293.5);
Tailwind
colors: {
  custom: {
    50: '#8c6ebb',
    500: '#57349e',
    950: '#000000',
  },
}
SCSS
$custom: #57349e;
$custom-light: #8c6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#57349e",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 259.811,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42874,
    "c": 0.16286,
    "h": 293.5
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#57349E
secondary
#A3BC72
accent
#DA4EAC
background
#F9F6FB
surface
#F1ECF6
border
#CBC7D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #57349E

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

Preview Lab → · Contrast checker → · Palette generator →

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