#57248C#57248C

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

Color values

HEX#57248C
RGBrgb(87, 36, 140)
HSLhsl(269, 59%, 35%)
HSVhsv(269, 74%, 55%)
CMYKcmyk(37.9%, 74.3%, 0%, 45.1%)
CIE-LABlab(27.25, 43.95, -48.42)
CIE-LCHlch(27.25, 65.39, 312.23°)
OKLaboklab(39.24% 0.0849 -0.1381)
OKLCHoklch(39.24% 0.162 301.6)
XYZxyz(9.2938, 5.1814, 25.3163)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57248C #598C24
analogous
#24258C #57248C #8B248C
triadic
#57248C #8C5724 #248C57
tetradic
#57248C #8C2425 #598C24 #248C8B
square
#57248C #8C2425 #598C24 #248C8B
split-complementary
#57248C #8C8B24 #258C24
monochromatic
#1A0B2B #39175B #57248C #7531BD #9457D4

Accessibility & contrast

On white

10.31
#57248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #57248C
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57248C#FFFFFF#000000##FFFFFF
##57248C1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00408A
Tritanopia (blue-blind)
#4C3E56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #57248c;
/* rgb */ color: rgb(87, 36, 140);
/* oklch */ color: oklch(39.2% 0.162 301.6);
Tailwind
colors: {
  custom: {
    50: '#8b64ae',
    500: '#57248c',
    950: '#000000',
  },
}
SCSS
$custom: #57248c;
$custom-light: #8b64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#57248c",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 269.423,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39244,
    "c": 0.1621,
    "h": 301.6
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#57248C
secondary
#87B854
accent
#E24695
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #57248C

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

Preview Lab → · Contrast checker → · Palette generator →

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