#57278E#57278E

#57278E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.161 H 300.5°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#57278E
RGBrgb(87, 39, 142)
HSLhsl(268, 57%, 35%)
HSVhsv(268, 73%, 56%)
CMYKcmyk(38.7%, 72.5%, 0%, 44.3%)
CIE-LABlab(27.93, 43.00, -48.55)
CIE-LCHlch(27.93, 64.86, 311.53°)
OKLaboklab(39.78% 0.0814 -0.1385)
OKLCHoklch(39.78% 0.161 300.5)
XYZxyz(9.5373, 5.4302, 26.1316)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57278E #5E8E27
analogous
#272B8E #57278E #8A278E
triadic
#57278E #8E5727 #278E57
tetradic
#57278E #8E272B #5E8E27 #278E8A
square
#57278E #8E272B #5E8E27 #278E8A
split-complementary
#57278E #8E8A27 #2B8E27
monochromatic
#1C0D2E #3A1A5E #57278E #7434BE #945DD2

Accessibility & contrast

On white

10.07
#57278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#57278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57278E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57278E#FFFFFF#000000##FFFFFF
##57278E1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#4B4058
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #57278e;
/* rgb */ color: rgb(87, 39, 142);
/* oklch */ color: oklch(39.8% 0.161 300.5);
Tailwind
colors: {
  custom: {
    50: '#8b65b0',
    500: '#57278e',
    950: '#000000',
  },
}
SCSS
$custom: #57278e;
$custom-light: #8b65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#57278e",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 267.961,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39778,
    "c": 0.16064,
    "h": 300.5
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#57278E
secondary
#8CB859
accent
#E04899
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #57278E

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

Preview Lab → · Contrast checker → · Palette generator →

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