#57308A#57308A

#57308A is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.144 H 300.0°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#57308A
RGBrgb(87, 48, 138)
HSLhsl(266, 48%, 36%)
HSVhsv(266, 65%, 54%)
CMYKcmyk(37%, 65.2%, 0%, 45.9%)
CIE-LABlab(29.35, 37.17, -43.77)
CIE-LCHlch(29.35, 57.42, 310.34°)
OKLaboklab(40.7% 0.0718 -0.1244)
OKLCHoklch(40.7% 0.144 300)
XYZxyz(9.5738, 5.9750, 24.6887)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57308A #638A30
analogous
#30368A #57308A #84308A
triadic
#57308A #8A5730 #308A57
tetradic
#57308A #8A3036 #638A30 #308A84
square
#57308A #8A3036 #638A30 #308A84
split-complementary
#57308A #8A8430 #368A30
monochromatic
#1E102F #3A205D #57308A #7440B7 #9469CB

Accessibility & contrast

On white

9.57
#57308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#57308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57308A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57308A#FFFFFF#000000##FFFFFF
##57308A1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#084488
Tritanopia (blue-blind)
#4C4458
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57308a;
/* rgb */ color: rgb(87, 48, 138);
/* oklch */ color: oklch(40.7% 0.144 300.0);
Tailwind
colors: {
  custom: {
    50: '#8a6bad',
    500: '#57308a',
    950: '#000000',
  },
}
SCSS
$custom: #57308a;
$custom-light: #8a6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#57308a",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 266,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40701,
    "c": 0.14365,
    "h": 300
  },
  "luminance": 0.05975
}

Semantic roles & 50–950 ramp

primary
#57308A
secondary
#90B264
accent
#D8509D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57308A

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

Preview Lab → · Contrast checker → · Palette generator →

#57308A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva