#564A83#564A83

#564A83 is a dark, moderate violet. Relative luminance 0.085; OKLCH L 44.7% C 0.092 H 291.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#564A83
RGBrgb(86, 74, 131)
HSLhsl(253, 28%, 40%)
HSVhsv(253, 44%, 51%)
CMYKcmyk(34.4%, 43.5%, 0%, 48.6%)
CIE-LABlab(35.03, 19.05, -30.37)
CIE-LCHlch(35.03, 35.85, 302.09°)
OKLaboklab(44.75% 0.0343 -0.0852)
OKLCHoklch(44.75% 0.092 291.9)
XYZxyz(10.3822, 8.5145, 22.5648)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564A83 #77834A
analogous
#4A5A83 #564A83 #734A83
triadic
#564A83 #83564A #4A8356
tetradic
#564A83 #834A5A #77834A #4A8373
square
#564A83 #834A5A #77834A #4A8373
split-complementary
#564A83 #83734A #5A834A
monochromatic
#231E35 #3C345C #564A83 #7163A7 #958ABD

Accessibility & contrast

On white

7.77
#564A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#564A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564A83
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564A83#FFFFFF#000000##FFFFFF
##564A831.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#395182
Tritanopia (blue-blind)
#4B5560
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #564a83;
/* rgb */ color: rgb(86, 74, 131);
/* oklch */ color: oklch(44.7% 0.092 291.9);
Tailwind
colors: {
  custom: {
    50: '#877ca7',
    500: '#564a83',
    950: '#000000',
  },
}
SCSS
$custom: #564a83;
$custom-light: #877ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#564a83",
  "rgb": {
    "r": 86,
    "g": 74,
    "b": 131
  },
  "hsl": {
    "h": 252.632,
    "s": 27.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44749,
    "c": 0.09188,
    "h": 291.9
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#564A83
secondary
#A0A980
accent
#C464B0
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0B090F
muted
#7C7B7F

Preview Lab

Preview with #564A83

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

Preview Lab → · Contrast checker → · Palette generator →

#564A83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva