#57247D#57247D

#57247D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.145 H 307.0°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#57247D
RGBrgb(87, 36, 125)
HSLhsl(274, 55%, 32%)
HSVhsv(274, 71%, 49%)
CMYKcmyk(30.4%, 71.2%, 0%, 51%)
CIE-LABlab(26.07, 40.17, -40.94)
CIE-LCHlch(26.07, 57.36, 314.46°)
OKLaboklab(38.03% 0.0875 -0.1161)
OKLCHoklch(38.03% 0.145 307)
XYZxyz(8.2622, 4.7688, 19.8833)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57247D #4A7D24
analogous
#2B247D #57247D #7D2477
triadic
#57247D #7D5724 #247D57
tetradic
#57247D #7D2B24 #4A7D24 #24777D
square
#57247D #7D2B24 #4A7D24 #24777D
split-complementary
#57247D #777D24 #247D2B
monochromatic
#15091E #36164D #57247D #7832AD #974FCC

Accessibility & contrast

On white

10.75
#57247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57247D
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57247D#FFFFFF#000000##FFFFFF
##57247D1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#0B3E7B
Tritanopia (blue-blind)
#51384D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #57247d;
/* rgb */ color: rgb(87, 36, 125);
/* oklch */ color: oklch(38.0% 0.145 307.0);
Tailwind
colors: {
  custom: {
    50: '#8a63a3',
    500: '#57247d',
    950: '#000000',
  },
}
SCSS
$custom: #57247d;
$custom-light: #8a63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#57247d",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 274.382,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38033,
    "c": 0.14536,
    "h": 307
  },
  "luminance": 0.04769
}

Semantic roles & 50–950 ramp

primary
#57247D
secondary
#77AF4D
accent
#DF4989
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C050F
muted
#7D7A7F

Preview Lab

Preview with #57247D

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

Preview Lab → · Contrast checker → · Palette generator →

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