#57328F#57328F

#57328F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.147 H 298.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#57328F
RGBrgb(87, 50, 143)
HSLhsl(264, 48%, 38%)
HSVhsv(264, 65%, 56%)
CMYKcmyk(39.2%, 65%, 0%, 43.9%)
CIE-LABlab(30.13, 37.41, -45.59)
CIE-LCHlch(30.13, 58.97, 309.37°)
OKLaboklab(41.39% 0.0689 -0.1298)
OKLCHoklch(41.39% 0.147 298)
XYZxyz(10.0278, 6.2905, 26.6671)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57328F #6A8F32
analogous
#323B8F #57328F #85328F
triadic
#57328F #8F5732 #328F57
tetradic
#57328F #8F323B #6A8F32 #328F85
square
#57328F #8F323B #6A8F32 #328F85
split-complementary
#57328F #8F8532 #3B8F32
monochromatic
#201234 #3B2262 #57328F #7342BC #946FCD

Accessibility & contrast

On white

9.30
#57328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#57328F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57328F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57328F#FFFFFF#000000##FFFFFF
##57328F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#4A475C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #57328f;
/* rgb */ color: rgb(87, 50, 143);
/* oklch */ color: oklch(41.4% 0.147 298.0);
Tailwind
colors: {
  custom: {
    50: '#8b6cb0',
    500: '#57328f',
    950: '#000000',
  },
}
SCSS
$custom: #57328f;
$custom-light: #8b6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#57328f",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 263.871,
    "s": 48.187,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41386,
    "c": 0.14697,
    "h": 298
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

primary
#57328F
secondary
#96B468
accent
#D850A2
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #57328F

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

Preview Lab → · Contrast checker → · Palette generator →

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