#57328E#57328E

#57328E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.146 H 298.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#57328E
RGBrgb(87, 50, 142)
HSLhsl(264, 48%, 38%)
HSVhsv(264, 65%, 56%)
CMYKcmyk(38.7%, 64.8%, 0%, 44.3%)
CIE-LABlab(30.06, 37.13, -45.09)
CIE-LCHlch(30.06, 58.42, 309.47°)
OKLaboklab(41.31% 0.069 -0.1283)
OKLCHoklch(41.31% 0.146 298.3)
XYZxyz(9.9523, 6.2603, 26.2700)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57328E #698E32
analogous
#323B8E #57328E #85328E
triadic
#57328E #8E5732 #328E57
tetradic
#57328E #8E323B #698E32 #328E85
square
#57328E #8E323B #698E32 #328E85
split-complementary
#57328E #8E8532 #3B8E32
monochromatic
#201233 #3B2261 #57328E #7342BB #946ECC

Accessibility & contrast

On white

9.33
#57328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#57328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57328E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57328E#FFFFFF#000000##FFFFFF
##57328E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#03468C
Tritanopia (blue-blind)
#4A475B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #57328e;
/* rgb */ color: rgb(87, 50, 142);
/* oklch */ color: oklch(41.3% 0.146 298.3);
Tailwind
colors: {
  custom: {
    50: '#8b6cb0',
    500: '#57328e',
    950: '#000000',
  },
}
SCSS
$custom: #57328e;
$custom-light: #8b6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#57328e",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 264.13,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41309,
    "c": 0.14572,
    "h": 298.3
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#57328E
secondary
#95B468
accent
#D850A1
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57328E

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

Preview Lab → · Contrast checker → · Palette generator →

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