#57348B#57348B

#57348B is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.139 H 298.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#57348B
RGBrgb(87, 52, 139)
HSLhsl(264, 46%, 37%)
HSVhsv(264, 63%, 55%)
CMYKcmyk(37.4%, 62.6%, 0%, 45.5%)
CIE-LABlab(30.27, 35.16, -42.90)
CIE-LCHlch(30.27, 55.47, 309.34°)
OKLaboklab(41.39% 0.0667 -0.1219)
OKLCHoklch(41.39% 0.139 298.7)
XYZxyz(9.8175, 6.3462, 25.1288)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57348B #688B34
analogous
#343C8B #57348B #83348B
triadic
#57348B #8B5734 #348B57
tetradic
#57348B #8B343C #688B34 #348B83
square
#57348B #8B343C #688B34 #348B83
split-complementary
#57348B #8B8334 #3C8B34
monochromatic
#1F1332 #3B235E #57348B #7345B8 #9470C9

Accessibility & contrast

On white

9.25
#57348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#57348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57348B
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57348B#FFFFFF#000000##FFFFFF
##57348B1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#114689
Tritanopia (blue-blind)
#4B475A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #57348b;
/* rgb */ color: rgb(87, 52, 139);
/* oklch */ color: oklch(41.4% 0.139 298.7);
Tailwind
colors: {
  custom: {
    50: '#8a6dad',
    500: '#57348b',
    950: '#000000',
  },
}
SCSS
$custom: #57348b;
$custom-light: #8a6dad;
$custom-dark: #000000;
JSON
{
  "hex": "#57348b",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 264.138,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41392,
    "c": 0.13897,
    "h": 298.7
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#57348B
secondary
#94B269
accent
#D553A1
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57348B

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

Preview Lab → · Contrast checker → · Palette generator →

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