#57338C#57338C

#57338C is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.3% C 0.142 H 298.6°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#57338C
RGBrgb(87, 51, 140)
HSLhsl(264, 47%, 37%)
HSVhsv(264, 64%, 55%)
CMYKcmyk(37.9%, 63.6%, 0%, 45.1%)
CIE-LABlab(30.13, 36.01, -43.75)
CIE-LCHlch(30.13, 56.67, 309.46°)
OKLaboklab(41.31% 0.0679 -0.1244)
OKLCHoklch(41.31% 0.142 298.6)
XYZxyz(9.8468, 6.2872, 25.5006)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57338C #688C33
analogous
#333B8C #57338C #84338C
triadic
#57338C #8C5733 #338C57
tetradic
#57338C #8C333B #688C33 #338C84
square
#57338C #8C333B #688C33 #338C84
split-complementary
#57338C #8C8433 #3B8C33
monochromatic
#1F1232 #3B235F #57338C #7343B9 #946FCB

Accessibility & contrast

On white

9.30
#57338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57338C
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57338C#FFFFFF#000000##FFFFFF
##57338C1.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)
#00478F
Deuteranopia (green-blind)
#0C468A
Tritanopia (blue-blind)
#4B465A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #57338c;
/* rgb */ color: rgb(87, 51, 140);
/* oklch */ color: oklch(41.3% 0.142 298.6);
Tailwind
colors: {
  custom: {
    50: '#8a6dae',
    500: '#57338c',
    950: '#000000',
  },
}
SCSS
$custom: #57338c;
$custom-light: #8a6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#57338c",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 264.27,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.14174,
    "h": 298.6
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#57338C
secondary
#94B268
accent
#D652A1
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57338C

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

Preview Lab → · Contrast checker → · Palette generator →

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