#57248E#57248E

#57248E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.164 H 301.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#57248E
RGBrgb(87, 36, 142)
HSLhsl(269, 60%, 35%)
HSVhsv(269, 75%, 56%)
CMYKcmyk(38.7%, 74.6%, 0%, 44.3%)
CIE-LABlab(27.41, 44.46, -49.39)
CIE-LCHlch(27.41, 66.46, 311.99°)
OKLaboklab(39.41% 0.0845 -0.1409)
OKLCHoklch(39.41% 0.164 301)
XYZxyz(9.4426, 5.2409, 26.1001)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57248E #5B8E24
analogous
#24268E #57248E #8C248E
triadic
#57248E #8E5724 #248E57
tetradic
#57248E #8E2426 #5B8E24 #248E8C
square
#57248E #8E2426 #5B8E24 #248E8C
split-complementary
#57248E #8E8C24 #268E24
monochromatic
#1B0B2C #39185D #57248E #7530BF #9458D5

Accessibility & contrast

On white

10.25
#57248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#57248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57248E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57248E#FFFFFF#000000##FFFFFF
##57248E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#4B3E57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #57248e;
/* rgb */ color: rgb(87, 36, 142);
/* oklch */ color: oklch(39.4% 0.164 301.0);
Tailwind
colors: {
  custom: {
    50: '#8c64b0',
    500: '#57248e',
    950: '#000000',
  },
}
SCSS
$custom: #57248e;
$custom-light: #8c64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#57248e",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 268.868,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39412,
    "c": 0.16432,
    "h": 301
  },
  "luminance": 0.05241
}

Semantic roles & 50–950 ramp

primary
#57248E
secondary
#89B955
accent
#E34597
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #57248E

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

Preview Lab → · Contrast checker → · Palette generator →

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