#56289F#56289F

#56289F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.179 H 294.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#56289F
RGBrgb(86, 40, 159)
HSLhsl(263, 60%, 39%)
HSVhsv(263, 75%, 62%)
CMYKcmyk(45.9%, 74.8%, 0%, 37.6%)
CIE-LABlab(29.41, 46.84, -56.56)
CIE-LCHlch(29.41, 73.44, 309.63°)
OKLaboklab(41.25% 0.0753 -0.162)
OKLCHoklch(41.25% 0.179 294.9)
XYZxyz(10.8529, 5.9989, 33.3803)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56289F #719F28
analogous
#28369F #56289F #92289F
triadic
#56289F #9F5628 #289F56
tetradic
#56289F #9F2836 #719F28 #289F92
square
#56289F #9F2836 #719F28 #289F92
split-complementary
#56289F #9F9228 #369F28
monochromatic
#210F3D #3C1C6E #56289F #7137CD #9468D9

Accessibility & contrast

On white

9.55
#56289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#56289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56289F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56289F#FFFFFF#000000##FFFFFF
##56289F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#414761
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #56289f;
/* rgb */ color: rgb(86, 40, 159);
/* oklch */ color: oklch(41.2% 0.179 294.9);
Tailwind
colors: {
  custom: {
    50: '#8d67bc',
    500: '#56289f',
    950: '#000000',
  },
}
SCSS
$custom: #56289f;
$custom-light: #8d67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56289f",
  "rgb": {
    "r": 86,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 263.193,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.17868,
    "h": 294.9
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#56289F
secondary
#9CBF64
accent
#E345A6
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #56289F

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

Preview Lab → · Contrast checker → · Palette generator →

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