#57338D#57338D

#57338D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.4% C 0.143 H 298.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#57338D
RGBrgb(87, 51, 141)
HSLhsl(264, 47%, 38%)
HSVhsv(264, 64%, 55%)
CMYKcmyk(38.3%, 63.8%, 0%, 44.7%)
CIE-LABlab(30.20, 36.29, -44.25)
CIE-LCHlch(30.20, 57.23, 309.35°)
OKLaboklab(41.39% 0.0678 -0.1259)
OKLCHoklch(41.39% 0.143 298.3)
XYZxyz(9.9208, 6.3168, 25.8907)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57338D #698D33
analogous
#333C8D #57338D #84338D
triadic
#57338D #8D5733 #338D57
tetradic
#57338D #8D333C #698D33 #338D84
square
#57338D #8D333C #698D33 #338D84
split-complementary
#57338D #8D8433 #3C8D33
monochromatic
#201233 #3B2360 #57338D #7343BA #946FCB

Accessibility & contrast

On white

9.28
#57338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#57338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57338D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57338D#FFFFFF#000000##FFFFFF
##57338D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#09468B
Tritanopia (blue-blind)
#4B475B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #57338d;
/* rgb */ color: rgb(87, 51, 141);
/* oklch */ color: oklch(41.4% 0.143 298.3);
Tailwind
colors: {
  custom: {
    50: '#8b6daf',
    500: '#57338d',
    950: '#000000',
  },
}
SCSS
$custom: #57338d;
$custom-light: #8b6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#57338d",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 264,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41386,
    "c": 0.143,
    "h": 298.3
  },
  "luminance": 0.06317
}

Semantic roles & 50–950 ramp

primary
#57338D
secondary
#95B369
accent
#D751A1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57338D

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

Preview Lab → · Contrast checker → · Palette generator →

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