#57308C#57308C

#57308C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.146 H 299.3°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#57308C
RGBrgb(87, 48, 140)
HSLhsl(265, 49%, 37%)
HSVhsv(265, 66%, 55%)
CMYKcmyk(37.9%, 65.7%, 0%, 45.1%)
CIE-LABlab(29.50, 37.71, -44.77)
CIE-LCHlch(29.50, 58.54, 310.11°)
OKLaboklab(40.86% 0.0716 -0.1274)
OKLCHoklch(40.86% 0.146 299.3)
XYZxyz(9.7199, 6.0335, 25.4583)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57308C #658C30
analogous
#30378C #57308C #85308C
triadic
#57308C #8C5730 #308C57
tetradic
#57308C #8C3037 #658C30 #308C85
square
#57308C #8C3037 #658C30 #308C85
split-complementary
#57308C #8C8530 #378C30
monochromatic
#1E1131 #3B205E #57308C #7340BA #946ACC

Accessibility & contrast

On white

9.52
#57308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#57308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57308C
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57308C#FFFFFF#000000##FFFFFF
##57308C1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#02458A
Tritanopia (blue-blind)
#4B4559
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #57308c;
/* rgb */ color: rgb(87, 48, 140);
/* oklch */ color: oklch(40.9% 0.146 299.3);
Tailwind
colors: {
  custom: {
    50: '#8b6bae',
    500: '#57308c',
    950: '#000000',
  },
}
SCSS
$custom: #57308c;
$custom-light: #8b6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#57308c",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 265.435,
    "s": 48.936,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.14612,
    "h": 299.3
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#57308C
secondary
#92B364
accent
#D84F9E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #57308C

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

Preview Lab → · Contrast checker → · Palette generator →

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