#57247F#57247F

#57247F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.148 H 306.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#57247F
RGBrgb(87, 36, 127)
HSLhsl(274, 56%, 32%)
HSVhsv(274, 72%, 50%)
CMYKcmyk(31.5%, 71.7%, 0%, 50.2%)
CIE-LABlab(26.22, 40.67, -41.96)
CIE-LCHlch(26.22, 58.43, 314.11°)
OKLaboklab(38.19% 0.0872 -0.1191)
OKLCHoklch(38.19% 0.148 306.2)
XYZxyz(8.3913, 4.8204, 20.5629)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57247F #4C7F24
analogous
#29247F #57247F #7F247A
triadic
#57247F #7F5724 #247F57
tetradic
#57247F #7F2924 #4C7F24 #247A7F
square
#57247F #7F2924 #4C7F24 #247A7F
split-complementary
#57247F #7A7F24 #247F29
monochromatic
#160920 #36164F #57247F #7832AF #9650CD

Accessibility & contrast

On white

10.69
#57247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57247F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57247F#FFFFFF#000000##FFFFFF
##57247F1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#063E7D
Tritanopia (blue-blind)
#50394E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #57247f;
/* rgb */ color: rgb(87, 36, 127);
/* oklch */ color: oklch(38.2% 0.148 306.2);
Tailwind
colors: {
  custom: {
    50: '#8a63a5',
    500: '#57247f',
    950: '#000000',
  },
}
SCSS
$custom: #57247f;
$custom-light: #8a63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#57247f",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 273.626,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38189,
    "c": 0.14759,
    "h": 306.2
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#57247F
secondary
#79B14E
accent
#DF498B
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #57247F

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

Preview Lab → · Contrast checker → · Palette generator →

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