#564490#564490

#564490 is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.4% C 0.121 H 291.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#564490
RGBrgb(86, 68, 144)
HSLhsl(254, 36%, 42%)
HSVhsv(254, 53%, 56%)
CMYKcmyk(40.3%, 52.8%, 0%, 43.5%)
CIE-LABlab(34.24, 26.63, -39.60)
CIE-LCHlch(34.24, 47.72, 303.92°)
OKLaboklab(44.4% 0.0445 -0.1122)
OKLCHoklch(44.4% 0.121 291.6)
XYZxyz(10.9376, 8.1260, 27.3723)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564490 #7E9044
analogous
#445890 #564490 #7C4490
triadic
#564490 #905644 #449056
tetradic
#564490 #904458 #7E9044 #44907C
square
#564490 #904458 #7E9044 #44907C
split-complementary
#564490 #907C44 #589044
monochromatic
#241D3D #3D3066 #564490 #725EB3 #9788C7

Accessibility & contrast

On white

8.00
#564490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#564490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564490
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564490#FFFFFF#000000##FFFFFF
##5644901.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245293
Deuteranopia (green-blind)
#274F8E
Tritanopia (blue-blind)
#475463
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #564490;
/* rgb */ color: rgb(86, 68, 144);
/* oklch */ color: oklch(44.4% 0.121 291.6);
Tailwind
colors: {
  custom: {
    50: '#8978b1',
    500: '#564490',
    950: '#000000',
  },
}
SCSS
$custom: #564490;
$custom-light: #8978b1;
$custom-dark: #000000;
JSON
{
  "hex": "#564490",
  "rgb": {
    "r": 86,
    "g": 68,
    "b": 144
  },
  "hsl": {
    "h": 254.211,
    "s": 35.849,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44404,
    "c": 0.12073,
    "h": 291.6
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#564490
secondary
#A6B27E
accent
#CC5CB1
background
#F8F7FA
surface
#F0EDF5
border
#CBC8CF
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #564490

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

Preview Lab → · Contrast checker → · Palette generator →

#564490 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva