#56289D#56289D

#56289D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.176 H 295.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#56289D
RGBrgb(86, 40, 157)
HSLhsl(264, 59%, 39%)
HSVhsv(264, 75%, 62%)
CMYKcmyk(45.2%, 74.5%, 0%, 38.4%)
CIE-LABlab(29.24, 46.30, -55.63)
CIE-LCHlch(29.24, 72.38, 309.77°)
OKLaboklab(41.07% 0.0758 -0.1593)
OKLCHoklch(41.07% 0.176 295.4)
XYZxyz(10.6807, 5.9301, 32.4736)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56289D #6F9D28
analogous
#28349D #56289D #90289D
triadic
#56289D #9D5628 #289D56
tetradic
#56289D #9D2834 #6F9D28 #289D90
square
#56289D #9D2834 #6F9D28 #289D90
split-complementary
#56289D #9D9028 #349D28
monochromatic
#210F3B #3B1C6C #56289D #7136CC #9467D8

Accessibility & contrast

On white

9.61
#56289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#56289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56289D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56289D#FFFFFF#000000##FFFFFF
##56289D1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00439B
Tritanopia (blue-blind)
#424760
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #56289d;
/* rgb */ color: rgb(86, 40, 157);
/* oklch */ color: oklch(41.1% 0.176 295.4);
Tailwind
colors: {
  custom: {
    50: '#8d67bb',
    500: '#56289d',
    950: '#000000',
  },
}
SCSS
$custom: #56289d;
$custom-light: #8d67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#56289d",
  "rgb": {
    "r": 86,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 263.59,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41068,
    "c": 0.17642,
    "h": 295.4
  },
  "luminance": 0.0593
}

Semantic roles & 50–950 ramp

primary
#56289D
secondary
#9ABE62
accent
#E345A5
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56289D

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

Preview Lab → · Contrast checker → · Palette generator →

#56289D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva