#57249A#57249A

#57249A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.5% C 0.178 H 297.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#57249A
RGBrgb(87, 36, 154)
HSLhsl(266, 62%, 37%)
HSVhsv(266, 77%, 60%)
CMYKcmyk(43.5%, 76.6%, 0%, 39.6%)
CIE-LABlab(28.44, 47.56, -55.11)
CIE-LCHlch(28.44, 72.79, 310.80°)
OKLaboklab(40.45% 0.0816 -0.1577)
OKLCHoklch(40.45% 0.178 297.4)
XYZxyz(10.3926, 5.6209, 31.1030)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#57249A #679A24
analogous
#242C9A #57249A #92249A
triadic
#57249A #9A5724 #249A57
tetradic
#57249A #9A242C #679A24 #249A92
square
#57249A #9A242C #679A24 #249A92
split-complementary
#57249A #9A9224 #2C9A24
monochromatic
#1F0D37 #3B1868 #57249A #7330CC #945FDA

Accessibility & contrast

On white

9.89
#57249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#57249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #57249A
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##57249A#FFFFFF#000000##FFFFFF
##57249A1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#004298
Tritanopia (blue-blind)
#46435E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #57249a;
/* rgb */ color: rgb(87, 36, 154);
/* oklch */ color: oklch(40.5% 0.178 297.4);
Tailwind
colors: {
  custom: {
    50: '#8d64b9',
    500: '#57249a',
    950: '#000000',
  },
}
SCSS
$custom: #57249a;
$custom-light: #8d64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#57249a",
  "rgb": {
    "r": 87,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 265.932,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40452,
    "c": 0.17758,
    "h": 297.4
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#57249A
secondary
#94BF5B
accent
#E5439F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #57249A

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

Preview Lab → · Contrast checker → · Palette generator →

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