#57278B#57278B

#57278B is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.157 H 301.4°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#57278B
RGBrgb(87, 39, 139)
HSLhsl(269, 56%, 35%)
HSVhsv(269, 72%, 55%)
CMYKcmyk(37.4%, 71.9%, 0%, 45.5%)
CIE-LABlab(27.69, 42.23, -47.08)
CIE-LCHlch(27.69, 63.24, 311.89°)
OKLaboklab(39.53% 0.082 -0.1342)
OKLCHoklch(39.53% 0.157 301.4)
XYZxyz(9.3151, 5.3413, 24.9613)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57278B #5B8B27
analogous
#27298B #57278B #89278B
triadic
#57278B #8B5727 #278B57
tetradic
#57278B #8B2729 #5B8B27 #278B89
square
#57278B #8B2729 #5B8B27 #278B89
split-complementary
#57278B #8B8927 #298B27
monochromatic
#1B0C2B #391A5B #57278B #7534BB #945BD1

Accessibility & contrast

On white

10.15
#57278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#57278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57278B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57278B#FFFFFF#000000##FFFFFF
##57278B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#4C3F56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #57278b;
/* rgb */ color: rgb(87, 39, 139);
/* oklch */ color: oklch(39.5% 0.157 301.4);
Tailwind
colors: {
  custom: {
    50: '#8b65ae',
    500: '#57278b',
    950: '#000000',
  },
}
SCSS
$custom: #57278b;
$custom-light: #8b65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#57278b",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 268.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.15723,
    "h": 301.4
  },
  "luminance": 0.05341
}

Semantic roles & 50–950 ramp

primary
#57278B
secondary
#89B658
accent
#DF4897
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57278B

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

Preview Lab → · Contrast checker → · Palette generator →

#57278B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva