#57338F#57338F

#57338F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.5% C 0.146 H 297.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#57338F
RGBrgb(87, 51, 143)
HSLhsl(263, 47%, 38%)
HSVhsv(263, 64%, 56%)
CMYKcmyk(39.2%, 64.3%, 0%, 43.9%)
CIE-LABlab(30.34, 36.84, -45.25)
CIE-LCHlch(30.34, 58.35, 309.15°)
OKLaboklab(41.54% 0.0677 -0.1288)
OKLCHoklch(41.54% 0.146 297.7)
XYZxyz(10.0710, 6.3769, 26.6815)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57338F #6B8F33
analogous
#333D8F #57338F #85338F
triadic
#57338F #8F5733 #338F57
tetradic
#57338F #8F333D #6B8F33 #338F85
square
#57338F #8F333D #6B8F33 #338F85
split-complementary
#57338F #8F8533 #3D8F33
monochromatic
#201335 #3C2362 #57338F #7243BC #9470CC

Accessibility & contrast

On white

9.23
#57338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#57338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57338F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57338F#FFFFFF#000000##FFFFFF
##57338F1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57338f;
/* rgb */ color: rgb(87, 51, 143);
/* oklch */ color: oklch(41.5% 0.146 297.7);
Tailwind
colors: {
  custom: {
    50: '#8b6db0',
    500: '#57338f',
    950: '#000000',
  },
}
SCSS
$custom: #57338f;
$custom-light: #8b6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#57338f",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 263.478,
    "s": 47.423,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41538,
    "c": 0.14552,
    "h": 297.7
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#57338F
secondary
#97B46A
accent
#D751A2
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #57338F

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

Preview Lab → · Contrast checker → · Palette generator →

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