#57248B#57248B

#57248B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.161 H 301.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#57248B
RGBrgb(87, 36, 139)
HSLhsl(270, 59%, 34%)
HSVhsv(270, 74%, 55%)
CMYKcmyk(37.4%, 74.1%, 0%, 45.5%)
CIE-LABlab(27.16, 43.69, -47.93)
CIE-LCHlch(27.16, 64.86, 312.35°)
OKLaboklab(39.16% 0.0851 -0.1366)
OKLCHoklch(39.16% 0.161 301.9)
XYZxyz(9.2204, 5.1520, 24.9298)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57248B #588B24
analogous
#24248B #57248B #8B248B
triadic
#57248B #8B5724 #248B57
tetradic
#57248B #8B2424 #588B24 #248B8B
square
#57248B #8B2424 #588B24 #248B8B
split-complementary
#57248B #8B8B24 #248B24
monochromatic
#1A0B2A #39175A #57248B #7531BC #9456D3

Accessibility & contrast

On white

10.34
#57248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#57248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57248B
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57248B#FFFFFF#000000##FFFFFF
##57248B1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #57248b;
/* rgb */ color: rgb(87, 36, 139);
/* oklch */ color: oklch(39.2% 0.161 301.9);
Tailwind
colors: {
  custom: {
    50: '#8b64ae',
    500: '#57248b',
    950: '#000000',
  },
}
SCSS
$custom: #57248b;
$custom-light: #8b64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#57248b",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 269.709,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3916,
    "c": 0.16098,
    "h": 301.9
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#57248B
secondary
#86B753
accent
#E24695
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57248B

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

Preview Lab → · Contrast checker → · Palette generator →

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