#57338E#57338E

#57338E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.5% C 0.144 H 298.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#57338E
RGBrgb(87, 51, 142)
HSLhsl(264, 47%, 38%)
HSVhsv(264, 64%, 56%)
CMYKcmyk(38.7%, 64.1%, 0%, 44.3%)
CIE-LABlab(30.27, 36.56, -44.75)
CIE-LCHlch(30.27, 57.79, 309.25°)
OKLaboklab(41.46% 0.0678 -0.1273)
OKLCHoklch(41.46% 0.144 298)
XYZxyz(9.9956, 6.3467, 26.2844)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57338E #6A8E33
analogous
#333D8E #57338E #84338E
triadic
#57338E #8E5733 #338E57
tetradic
#57338E #8E333D #6A8E33 #338E84
square
#57338E #8E333D #6A8E33 #338E84
split-complementary
#57338E #8E8433 #3D8E33
monochromatic
#201334 #3B2361 #57338E #7343BB #9470CC

Accessibility & contrast

On white

9.25
#57338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#57338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57338E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57338E#FFFFFF#000000##FFFFFF
##57338E1.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)
#004791
Deuteranopia (green-blind)
#06468C
Tritanopia (blue-blind)
#4A475B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #57338e;
/* rgb */ color: rgb(87, 51, 142);
/* oklch */ color: oklch(41.5% 0.144 298.0);
Tailwind
colors: {
  custom: {
    50: '#8b6db0',
    500: '#57338e',
    950: '#000000',
  },
}
SCSS
$custom: #57338e;
$custom-light: #8b6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#57338e",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 263.736,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41462,
    "c": 0.14426,
    "h": 298
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#57338E
secondary
#96B469
accent
#D751A2
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57338E

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

Preview Lab → · Contrast checker → · Palette generator →

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