#57308B#57308B

#57308B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.145 H 299.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#57308B
RGBrgb(87, 48, 139)
HSLhsl(266, 49%, 37%)
HSVhsv(266, 65%, 55%)
CMYKcmyk(37.4%, 65.5%, 0%, 45.5%)
CIE-LABlab(29.42, 37.44, -44.27)
CIE-LCHlch(29.42, 57.98, 310.22°)
OKLaboklab(40.78% 0.0717 -0.1259)
OKLCHoklch(40.78% 0.145 299.6)
XYZxyz(9.6465, 6.0041, 25.0718)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57308B #648B30
analogous
#30378B #57308B #85308B
triadic
#57308B #8B5730 #308B57
tetradic
#57308B #8B3037 #648B30 #308B85
square
#57308B #8B3037 #648B30 #308B85
split-complementary
#57308B #8B8530 #378B30
monochromatic
#1E1130 #3B205E #57308B #7340B8 #946ACC

Accessibility & contrast

On white

9.54
#57308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#57308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57308B
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57308B#FFFFFF#000000##FFFFFF
##57308B1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#054589
Tritanopia (blue-blind)
#4B4459
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57308b;
/* rgb */ color: rgb(87, 48, 139);
/* oklch */ color: oklch(40.8% 0.145 299.6);
Tailwind
colors: {
  custom: {
    50: '#8b6bad',
    500: '#57308b',
    950: '#000000',
  },
}
SCSS
$custom: #57308b;
$custom-light: #8b6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#57308b",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 265.714,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40778,
    "c": 0.14489,
    "h": 299.6
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#57308B
secondary
#91B364
accent
#D8509E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57308B

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

Preview Lab → · Contrast checker → · Palette generator →

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