#56459B#56459B

#56459B is a mid, vivid violet. Relative luminance 0.086; OKLCH L 45.3% C 0.135 H 289.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#56459B
RGBrgb(86, 69, 155)
HSLhsl(252, 38%, 44%)
HSVhsv(252, 55%, 61%)
CMYKcmyk(44.5%, 55.5%, 0%, 39.2%)
CIE-LABlab(35.20, 29.29, -44.74)
CIE-LCHlch(35.20, 53.48, 303.21°)
OKLaboklab(45.35% 0.0438 -0.1273)
OKLCHoklch(45.35% 0.135 289)
XYZxyz(11.8806, 8.6008, 32.0381)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56459B #8A9B45
analogous
#455F9B #56459B #81459B
triadic
#56459B #9B5645 #459B56
tetradic
#56459B #9B455F #8A9B45 #459B81
square
#56459B #9B455F #8A9B45 #459B81
split-complementary
#56459B #9B8145 #5F9B45
monochromatic
#271F46 #3F3271 #56459B #7563BA #9A8ECD

Accessibility & contrast

On white

7.72
#56459B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#56459B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56459B
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56459B#FFFFFF#000000##FFFFFF
##56459B1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559E
Deuteranopia (green-blind)
#1B5199
Tritanopia (blue-blind)
#425869
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #56459b;
/* rgb */ color: rgb(86, 69, 155);
/* oklch */ color: oklch(45.3% 0.135 289.0);
Tailwind
colors: {
  custom: {
    50: '#8a79b9',
    500: '#56459b',
    950: '#000000',
  },
}
SCSS
$custom: #56459b;
$custom-light: #8a79b9;
$custom-dark: #000000;
JSON
{
  "hex": "#56459b",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 155
  },
  "hsl": {
    "h": 251.86,
    "s": 38.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45347,
    "c": 0.13465,
    "h": 289
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#56459B
secondary
#AEB884
accent
#CE59B7
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #56459B

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

Preview Lab → · Contrast checker → · Palette generator →

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