#57107F#57107F

#57107F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.169 H 308.6°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#57107F
RGBrgb(87, 16, 127)
HSLhsl(278, 78%, 28%)
HSVhsv(278, 87%, 50%)
CMYKcmyk(31.5%, 87.4%, 0%, 50.2%)
CIE-LABlab(23.44, 48.64, -46.48)
CIE-LCHlch(23.44, 67.28, 316.30°)
OKLaboklab(36.23% 0.1055 -0.1322)
OKLCHoklch(36.23% 0.169 308.6)
XYZxyz(7.9457, 3.9293, 20.4144)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57107F #387F10
analogous
#1F107F #57107F #7F106F
triadic
#57107F #7F5710 #107F57
tetradic
#57107F #7F1F10 #387F10 #106F7F
square
#57107F #7F1F10 #387F10 #106F7F
split-complementary
#57107F #6F7F10 #107F1F
monochromatic
#13031B #320949 #57107F #7C17B5 #9F26E4

Accessibility & contrast

On white

11.76
#57107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#57107F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57107F
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57107F#FFFFFF#000000##FFFFFF
##57107F1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#512F4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #57107f;
/* rgb */ color: rgb(87, 16, 127);
/* oklch */ color: oklch(36.2% 0.169 308.6);
Tailwind
colors: {
  custom: {
    50: '#8b5aa5',
    500: '#57107f',
    950: '#000000',
  },
}
SCSS
$custom: #57107f;
$custom-light: #8b5aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#57107f",
  "rgb": {
    "r": 87,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 278.378,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36233,
    "c": 0.16911,
    "h": 308.6
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#57107F
secondary
#64B536
accent
#F43479
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0D040F
muted
#7D797F

Preview Lab

Preview with #57107F

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

Preview Lab → · Contrast checker → · Palette generator →

#57107F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva