#57277D#57277D

#57277D is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.4% C 0.141 H 306.5°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#57277D
RGBrgb(87, 39, 125)
HSLhsl(273, 52%, 32%)
HSVhsv(273, 69%, 49%)
CMYKcmyk(30.4%, 68.8%, 0%, 51%)
CIE-LABlab(26.61, 38.65, -40.05)
CIE-LCHlch(26.61, 55.66, 313.98°)
OKLaboklab(38.43% 0.0839 -0.1135)
OKLCHoklch(38.43% 0.141 306.5)
XYZxyz(8.3569, 4.9580, 19.9148)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57277D #4D7D27
analogous
#2C277D #57277D #7D2778
triadic
#57277D #7D5727 #277D57
tetradic
#57277D #7D2C27 #4D7D27 #27787D
square
#57277D #7D2C27 #4D7D27 #27787D
split-complementary
#57277D #787D27 #277D2C
monochromatic
#160A20 #37184E #57277D #7736AC #9655CA

Accessibility & contrast

On white

10.54
#57277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#57277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57277D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57277D#FFFFFF#000000##FFFFFF
##57277D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#113F7B
Tritanopia (blue-blind)
#513A4E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #57277d;
/* rgb */ color: rgb(87, 39, 125);
/* oklch */ color: oklch(38.4% 0.141 306.5);
Tailwind
colors: {
  custom: {
    50: '#8a65a3',
    500: '#57277d',
    950: '#000000',
  },
}
SCSS
$custom: #57277d;
$custom-light: #8a65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#57277d",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 273.488,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38427,
    "c": 0.14115,
    "h": 306.5
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#57277D
secondary
#7AAF51
accent
#DC4C8C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #57277D

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

Preview Lab → · Contrast checker → · Palette generator →

#57277D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva