#56249B#56249B

#56249B is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.179 H 296.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#56249B
RGBrgb(86, 36, 155)
HSLhsl(265, 62%, 37%)
HSVhsv(265, 77%, 61%)
CMYKcmyk(44.5%, 76.8%, 0%, 39.2%)
CIE-LABlab(28.40, 47.66, -55.78)
CIE-LCHlch(28.40, 73.37, 310.51°)
OKLaboklab(40.42% 0.0799 -0.1597)
OKLCHoklch(40.42% 0.179 296.6)
XYZxyz(10.3835, 5.6065, 31.5391)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56249B #699B24
analogous
#242D9B #56249B #92249B
triadic
#56249B #9B5624 #249B56
tetradic
#56249B #9B242D #699B24 #249B92
square
#56249B #9B242D #699B24 #249B92
split-complementary
#56249B #9B9224 #2D9B24
monochromatic
#1F0D38 #3A1869 #56249B #7230CD #935FDA

Accessibility & contrast

On white

9.90
#56249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#56249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56249B
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56249B#FFFFFF#000000##FFFFFF
##56249B1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56249b;
/* rgb */ color: rgb(86, 36, 155);
/* oklch */ color: oklch(40.4% 0.179 296.6);
Tailwind
colors: {
  custom: {
    50: '#8d64b9',
    500: '#56249b',
    950: '#000000',
  },
}
SCSS
$custom: #56249b;
$custom-light: #8d64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56249b",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 265.21,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40424,
    "c": 0.17858,
    "h": 296.6
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#56249B
secondary
#95BF5C
accent
#E542A1
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56249B

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

Preview Lab → · Contrast checker → · Palette generator →

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