#56459F#56459F

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

Color values

HEX#56459F
RGBrgb(86, 69, 159)
HSLhsl(251, 39%, 45%)
HSVhsv(251, 57%, 62%)
CMYKcmyk(45.9%, 56.6%, 0%, 37.6%)
CIE-LABlab(35.47, 30.50, -46.72)
CIE-LCHlch(35.47, 55.80, 303.14°)
OKLaboklab(45.63% 0.0439 -0.1331)
OKLCHoklch(45.63% 0.14 288.2)
XYZxyz(12.2221, 8.7374, 33.8367)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56459F #8E9F45
analogous
#45619F #56459F #83459F
triadic
#56459F #9F5645 #459F56
tetradic
#56459F #9F4561 #8E9F45 #459F83
square
#56459F #9F4561 #8E9F45 #459F83
split-complementary
#56459F #9F8345 #619F45
monochromatic
#28204A #3F3274 #56459F #7565BC #9C90CF

Accessibility & contrast

On white

7.64
#56459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#56459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56459F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56459F#FFFFFF#000000##FFFFFF
##56459F1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A2
Deuteranopia (green-blind)
#13519D
Tritanopia (blue-blind)
#3F596B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #56459f;
/* rgb */ color: rgb(86, 69, 159);
/* oklch */ color: oklch(45.6% 0.140 288.2);
Tailwind
colors: {
  custom: {
    50: '#8b79bc',
    500: '#56459f',
    950: '#000000',
  },
}
SCSS
$custom: #56459f;
$custom-light: #8b79bc;
$custom-dark: #000000;
JSON
{
  "hex": "#56459f",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 251.333,
    "s": 39.474,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45633,
    "c": 0.14019,
    "h": 288.2
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#56459F
secondary
#B0BA86
accent
#CF58B9
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #56459F

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

Preview Lab → · Contrast checker → · Palette generator →

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