#57247E#57247E

#57247E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.146 H 306.6°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#57247E
RGBrgb(87, 36, 126)
HSLhsl(274, 56%, 32%)
HSVhsv(274, 71%, 49%)
CMYKcmyk(31%, 71.4%, 0%, 50.6%)
CIE-LABlab(26.14, 40.42, -41.45)
CIE-LCHlch(26.14, 57.90, 314.28°)
OKLaboklab(38.11% 0.0874 -0.1176)
OKLCHoklch(38.11% 0.146 306.6)
XYZxyz(8.3264, 4.7944, 20.2214)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57247E #4B7E24
analogous
#2A247E #57247E #7E2478
triadic
#57247E #7E5724 #247E57
tetradic
#57247E #7E2A24 #4B7E24 #24787E
square
#57247E #7E2A24 #4B7E24 #24787E
split-complementary
#57247E #787E24 #247E2A
monochromatic
#15091F #36164E #57247E #7832AE #9750CD

Accessibility & contrast

On white

10.72
#57247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#57247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57247E
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57247E#FFFFFF#000000##FFFFFF
##57247E1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#093E7C
Tritanopia (blue-blind)
#50384E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #57247e;
/* rgb */ color: rgb(87, 36, 126);
/* oklch */ color: oklch(38.1% 0.146 306.6);
Tailwind
colors: {
  custom: {
    50: '#8a63a4',
    500: '#57247e',
    950: '#000000',
  },
}
SCSS
$custom: #57247e;
$custom-light: #8a63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#57247e",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 274,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38111,
    "c": 0.14648,
    "h": 306.6
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#57247E
secondary
#78B04E
accent
#DF498A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #57247E

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

Preview Lab → · Contrast checker → · Palette generator →

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