#57247C#57247C

#57247C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.144 H 307.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#57247C
RGBrgb(87, 36, 124)
HSLhsl(275, 55%, 31%)
HSVhsv(275, 71%, 49%)
CMYKcmyk(29.8%, 71%, 0%, 51.4%)
CIE-LABlab(25.99, 39.93, -40.43)
CIE-LCHlch(25.99, 56.82, 314.64°)
OKLaboklab(37.96% 0.0876 -0.1146)
OKLCHoklch(37.96% 0.144 307.4)
XYZxyz(8.1987, 4.7433, 19.5485)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57247C #497C24
analogous
#2B247C #57247C #7C2475
triadic
#57247C #7C5724 #247C57
tetradic
#57247C #7C2B24 #497C24 #24757C
square
#57247C #7C2B24 #497C24 #24757C
split-complementary
#57247C #757C24 #247C2B
monochromatic
#14081D #36164D #57247C #7832AB #974FCC

Accessibility & contrast

On white

10.78
#57247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#57247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57247C
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57247C#FFFFFF#000000##FFFFFF
##57247C1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#0E3E7A
Tritanopia (blue-blind)
#51374D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #57247c;
/* rgb */ color: rgb(87, 36, 124);
/* oklch */ color: oklch(38.0% 0.144 307.4);
Tailwind
colors: {
  custom: {
    50: '#8a63a2',
    500: '#57247c',
    950: '#000000',
  },
}
SCSS
$custom: #57247c;
$custom-light: #8a63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#57247c",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 274.773,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37956,
    "c": 0.14424,
    "h": 307.4
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#57247C
secondary
#76AE4D
accent
#DE4988
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #57247C

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

Preview Lab → · Contrast checker → · Palette generator →

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