#57249B#57249B

#57249B is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.179 H 297.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#57249B
RGBrgb(87, 36, 155)
HSLhsl(266, 62%, 37%)
HSVhsv(266, 77%, 61%)
CMYKcmyk(43.9%, 76.8%, 0%, 39.2%)
CIE-LABlab(28.52, 47.82, -55.57)
CIE-LCHlch(28.52, 73.32, 310.71°)
OKLaboklab(40.54% 0.0814 -0.1591)
OKLCHoklch(40.54% 0.179 297.1)
XYZxyz(10.4762, 5.6543, 31.5434)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57249B #689B24
analogous
#242D9B #57249B #92249B
triadic
#57249B #9B5724 #249B57
tetradic
#57249B #9B242D #689B24 #249B92
square
#57249B #9B242D #689B24 #249B92
split-complementary
#57249B #9B9224 #2D9B24
monochromatic
#1F0D38 #3B1869 #57249B #7330CD #945FDA

Accessibility & contrast

On white

9.85
#57249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#57249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57249B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57249B#FFFFFF#000000##FFFFFF
##57249B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#45445E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #57249b;
/* rgb */ color: rgb(87, 36, 155);
/* oklch */ color: oklch(40.5% 0.179 297.1);
Tailwind
colors: {
  custom: {
    50: '#8d64b9',
    500: '#57249b',
    950: '#000000',
  },
}
SCSS
$custom: #57249b;
$custom-light: #8d64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57249b",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 265.714,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40541,
    "c": 0.17869,
    "h": 297.1
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

primary
#57249B
secondary
#94BF5C
accent
#E542A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57249B

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

Preview Lab → · Contrast checker → · Palette generator →

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