#56459E#56459E

#56459E is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.6% C 0.139 H 288.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#56459E
RGBrgb(86, 69, 158)
HSLhsl(251, 39%, 45%)
HSVhsv(251, 56%, 62%)
CMYKcmyk(45.6%, 56.3%, 0%, 38%)
CIE-LABlab(35.41, 30.20, -46.23)
CIE-LCHlch(35.41, 55.22, 303.15°)
OKLaboklab(45.56% 0.0439 -0.1317)
OKLCHoklch(45.56% 0.139 288.4)
XYZxyz(12.1357, 8.7028, 33.3815)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56459E #8D9E45
analogous
#45609E #56459E #83459E
triadic
#56459E #9E5645 #459E56
tetradic
#56459E #9E4560 #8D9E45 #459E83
square
#56459E #9E4560 #8D9E45 #459E83
split-complementary
#56459E #9E8345 #609E45
monochromatic
#282049 #3F3273 #56459E #7565BC #9B8FCE

Accessibility & contrast

On white

7.66
#56459E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#56459E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56459E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56459E#FFFFFF#000000##FFFFFF
##56459E1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A1
Deuteranopia (green-blind)
#15519C
Tritanopia (blue-blind)
#40586A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #56459e;
/* rgb */ color: rgb(86, 69, 158);
/* oklch */ color: oklch(45.6% 0.139 288.4);
Tailwind
colors: {
  custom: {
    50: '#8b79bb',
    500: '#56459e',
    950: '#000000',
  },
}
SCSS
$custom: #56459e;
$custom-light: #8b79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#56459e",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 158
  },
  "hsl": {
    "h": 251.461,
    "s": 39.207,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.13881,
    "h": 288.4
  },
  "luminance": 0.08703
}

Semantic roles & 50–950 ramp

primary
#56459E
secondary
#B0BA85
accent
#CF59B8
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #56459E

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

Preview Lab → · Contrast checker → · Palette generator →

#56459E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva