#56459D#56459D

#56459D is a mid, vivid violet. Relative luminance 0.087; OKLCH L 45.5% C 0.137 H 288.6°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#56459D
RGBrgb(86, 69, 157)
HSLhsl(252, 39%, 44%)
HSVhsv(252, 56%, 62%)
CMYKcmyk(45.2%, 56.1%, 0%, 38.4%)
CIE-LABlab(35.34, 29.90, -45.73)
CIE-LCHlch(35.34, 54.64, 303.17°)
OKLaboklab(45.49% 0.0438 -0.1302)
OKLCHoklch(45.49% 0.137 288.6)
XYZxyz(12.0500, 8.6685, 32.9300)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56459D #8C9D45
analogous
#45609D #56459D #82459D
triadic
#56459D #9D5645 #459D56
tetradic
#56459D #9D4560 #8C9D45 #459D82
square
#56459D #9D4560 #8C9D45 #459D82
split-complementary
#56459D #9D8245 #609D45
monochromatic
#272048 #3F3272 #56459D #7564BB #9B8FCE

Accessibility & contrast

On white

7.68
#56459D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#56459D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #56459D
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56459D#FFFFFF#000000##FFFFFF
##56459D1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1555A0
Deuteranopia (green-blind)
#17519B
Tritanopia (blue-blind)
#40586A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #56459d;
/* rgb */ color: rgb(86, 69, 157);
/* oklch */ color: oklch(45.5% 0.137 288.6);
Tailwind
colors: {
  custom: {
    50: '#8a79ba',
    500: '#56459d',
    950: '#000000',
  },
}
SCSS
$custom: #56459d;
$custom-light: #8a79ba;
$custom-dark: #000000;
JSON
{
  "hex": "#56459d",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 157
  },
  "hsl": {
    "h": 251.591,
    "s": 38.938,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45489,
    "c": 0.13743,
    "h": 288.6
  },
  "luminance": 0.08669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56459D

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

Preview Lab → · Contrast checker → · Palette generator →

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