#56249A#56249A

#56249A is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.177 H 296.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#56249A
RGBrgb(86, 36, 154)
HSLhsl(265, 62%, 37%)
HSVhsv(265, 77%, 60%)
CMYKcmyk(44.2%, 76.6%, 0%, 39.6%)
CIE-LABlab(28.31, 47.39, -55.32)
CIE-LCHlch(28.31, 72.84, 310.59°)
OKLaboklab(40.34% 0.0801 -0.1584)
OKLCHoklch(40.34% 0.177 296.8)
XYZxyz(10.2998, 5.5731, 31.0986)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56249A #689A24
analogous
#242D9A #56249A #91249A
triadic
#56249A #9A5624 #249A56
tetradic
#56249A #9A242D #689A24 #249A91
square
#56249A #9A242D #689A24 #249A91
split-complementary
#56249A #9A9124 #2D9A24
monochromatic
#1F0D37 #3A1868 #56249A #7230CC #935FDA

Accessibility & contrast

On white

9.93
#56249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#56249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56249A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56249A#FFFFFF#000000##FFFFFF
##56249A1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56249a;
/* rgb */ color: rgb(86, 36, 154);
/* oklch */ color: oklch(40.3% 0.177 296.8);
Tailwind
colors: {
  custom: {
    50: '#8c64b9',
    500: '#56249a',
    950: '#000000',
  },
}
SCSS
$custom: #56249a;
$custom-light: #8c64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56249a",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 265.424,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.17747,
    "h": 296.8
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56249A

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

Preview Lab → · Contrast checker → · Palette generator →

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