#57248D#57248D

#57248D is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.163 H 301.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#57248D
RGBrgb(87, 36, 141)
HSLhsl(269, 59%, 35%)
HSVhsv(269, 74%, 55%)
CMYKcmyk(38.3%, 74.5%, 0%, 44.7%)
CIE-LABlab(27.33, 44.20, -48.91)
CIE-LCHlch(27.33, 65.92, 312.11°)
OKLaboklab(39.33% 0.0847 -0.1395)
OKLCHoklch(39.33% 0.163 301.3)
XYZxyz(9.3679, 5.2110, 25.7064)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57248D #5A8D24
analogous
#24258D #57248D #8C248D
triadic
#57248D #8D5724 #248D57
tetradic
#57248D #8D2425 #5A8D24 #248D8C
square
#57248D #8D2425 #5A8D24 #248D8C
split-complementary
#57248D #8D8C24 #258D24
monochromatic
#1B0B2B #39185C #57248D #7530BE #9457D4

Accessibility & contrast

On white

10.28
#57248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#57248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57248D
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57248D#FFFFFF#000000##FFFFFF
##57248D1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#4B3E56
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #57248d;
/* rgb */ color: rgb(87, 36, 141);
/* oklch */ color: oklch(39.3% 0.163 301.3);
Tailwind
colors: {
  custom: {
    50: '#8c64af',
    500: '#57248d',
    950: '#000000',
  },
}
SCSS
$custom: #57248d;
$custom-light: #8c64af;
$custom-dark: #000000;
JSON
{
  "hex": "#57248d",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 269.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39328,
    "c": 0.16321,
    "h": 301.3
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#57248D
secondary
#88B854
accent
#E34596
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0610
muted
#7D7A7F

Preview Lab

Preview with #57248D

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

Preview Lab → · Contrast checker → · Palette generator →

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