#57308E#57308E

#57308E is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.0% C 0.149 H 298.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#57308E
RGBrgb(87, 48, 142)
HSLhsl(265, 49%, 37%)
HSVhsv(265, 66%, 56%)
CMYKcmyk(38.7%, 66.2%, 0%, 44.3%)
CIE-LABlab(29.65, 38.26, -45.76)
CIE-LCHlch(29.65, 59.65, 309.89°)
OKLaboklab(41.01% 0.0714 -0.1303)
OKLCHoklch(41.01% 0.149 298.7)
XYZxyz(9.8687, 6.0930, 26.2421)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57308E #678E30
analogous
#30388E #57308E #86308E
triadic
#57308E #8E5730 #308E57
tetradic
#57308E #8E3038 #678E30 #308E86
square
#57308E #8E3038 #678E30 #308E86
split-complementary
#57308E #8E8630 #388E30
monochromatic
#1F1133 #3B2160 #57308E #733FBC #946BCD

Accessibility & contrast

On white

9.47
#57308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#57308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57308E
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57308E#FFFFFF#000000##FFFFFF
##57308E1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#4A455A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #57308e;
/* rgb */ color: rgb(87, 48, 142);
/* oklch */ color: oklch(41.0% 0.149 298.7);
Tailwind
colors: {
  custom: {
    50: '#8b6bb0',
    500: '#57308e',
    950: '#000000',
  },
}
SCSS
$custom: #57308e;
$custom-light: #8b6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#57308e",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 264.894,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4101,
    "c": 0.14858,
    "h": 298.7
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#57308E
secondary
#94B465
accent
#D94FA0
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57308E

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

Preview Lab → · Contrast checker → · Palette generator →

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