#57307C#57307C

#57307C is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.126 H 305.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#57307C
RGBrgb(87, 48, 124)
HSLhsl(271, 44%, 34%)
HSVhsv(271, 61%, 49%)
CMYKcmyk(29.8%, 61.3%, 0%, 51.4%)
CIE-LABlab(28.37, 33.44, -36.60)
CIE-LCHlch(28.37, 49.58, 312.42°)
OKLaboklab(39.67% 0.0724 -0.1034)
OKLCHoklch(39.67% 0.126 305)
XYZxyz(8.6247, 5.5954, 19.6905)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57307C #557C30
analogous
#31307C #57307C #7C307B
triadic
#57307C #7C5730 #307C57
tetradic
#57307C #7C3130 #557C30 #307B7C
square
#57307C #7C3130 #557C30 #307B7C
split-complementary
#57307C #7B7C30 #307C31
monochromatic
#190E24 #381F50 #57307C #7641A8 #9464C3

Accessibility & contrast

On white

9.91
#57307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#57307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57307C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57307C#FFFFFF#000000##FFFFFF
##57307C1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E427E
Deuteranopia (green-blind)
#20437A
Tritanopia (blue-blind)
#513F51
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #57307c;
/* rgb */ color: rgb(87, 48, 124);
/* oklch */ color: oklch(39.7% 0.126 305.0);
Tailwind
colors: {
  custom: {
    50: '#896aa2',
    500: '#57307c',
    950: '#000000',
  },
}
SCSS
$custom: #57307c;
$custom-light: #896aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#57307c",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 270.789,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.12622,
    "h": 305
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#57307C
secondary
#83AA5E
accent
#D45492
background
#F8F6FA
surface
#F0EBF3
border
#CBC6CD
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #57307C

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

Preview Lab → · Contrast checker → · Palette generator →

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