#57348D#57348D

#57348D is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.142 H 298.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#57348D
RGBrgb(87, 52, 141)
HSLhsl(264, 46%, 38%)
HSVhsv(264, 63%, 55%)
CMYKcmyk(38.3%, 63.1%, 0%, 44.7%)
CIE-LABlab(30.41, 35.71, -43.91)
CIE-LCHlch(30.41, 56.60, 309.12°)
OKLaboklab(41.54% 0.0666 -0.1249)
OKLCHoklch(41.54% 0.142 298.1)
XYZxyz(9.9650, 6.4052, 25.9055)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57348D #6A8D34
analogous
#343D8D #57348D #84348D
triadic
#57348D #8D5734 #348D57
tetradic
#57348D #8D343D #6A8D34 #348D84
square
#57348D #8D343D #6A8D34 #348D84
split-complementary
#57348D #8D8434 #3D8D34
monochromatic
#201334 #3B2460 #57348D #7344BA #9471CB

Accessibility & contrast

On white

9.21
#57348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#57348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57348D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57348D#FFFFFF#000000##FFFFFF
##57348D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#0C478B
Tritanopia (blue-blind)
#4A475B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #57348d;
/* rgb */ color: rgb(87, 52, 141);
/* oklch */ color: oklch(41.5% 0.142 298.1);
Tailwind
colors: {
  custom: {
    50: '#8a6daf',
    500: '#57348d',
    950: '#000000',
  },
}
SCSS
$custom: #57348d;
$custom-light: #8a6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#57348d",
  "rgb": {
    "r": 87,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 263.596,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41542,
    "c": 0.14152,
    "h": 298.1
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#57348D
secondary
#96B36A
accent
#D652A2
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57348D

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

Preview Lab → · Contrast checker → · Palette generator →

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