#57248A#57248A

#57248A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.160 H 302.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#57248A
RGBrgb(87, 36, 138)
HSLhsl(270, 59%, 34%)
HSVhsv(270, 74%, 54%)
CMYKcmyk(37%, 73.9%, 0%, 45.9%)
CIE-LABlab(27.08, 43.44, -47.44)
CIE-LCHlch(27.08, 64.33, 312.48°)
OKLaboklab(39.08% 0.0853 -0.1352)
OKLCHoklch(39.08% 0.16 302.3)
XYZxyz(9.1477, 5.1229, 24.5467)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57248A #578A24
analogous
#24248A #57248A #8A248A
triadic
#57248A #8A5724 #248A57
tetradic
#57248A #8A2424 #578A24 #248A8A
square
#57248A #8A2424 #578A24 #248A8A
split-complementary
#57248A #8A8A24 #248A24
monochromatic
#1A0B29 #381759 #57248A #7631BB #9456D3

Accessibility & contrast

On white

10.37
#57248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#57248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57248A
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57248A#FFFFFF#000000##FFFFFF
##57248A1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#4C3D55
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #57248a;
/* rgb */ color: rgb(87, 36, 138);
/* oklch */ color: oklch(39.1% 0.160 302.3);
Tailwind
colors: {
  custom: {
    50: '#8b64ad',
    500: '#57248a',
    950: '#000000',
  },
}
SCSS
$custom: #57248a;
$custom-light: #8b64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#57248a",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 270,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39077,
    "c": 0.15988,
    "h": 302.3
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#57248A
secondary
#85B753
accent
#E24694
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57248A

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

Preview Lab → · Contrast checker → · Palette generator →

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