#564693#564693

#564693 is a dark, vivid violet. Relative luminance 0.085; OKLCH L 45.0% C 0.122 H 290.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#564693
RGBrgb(86, 70, 147)
HSLhsl(252, 35%, 43%)
HSVhsv(252, 52%, 58%)
CMYKcmyk(41.5%, 52.4%, 0%, 42.4%)
CIE-LABlab(34.93, 26.27, -40.32)
CIE-LCHlch(34.93, 48.12, 303.08°)
OKLaboklab(44.98% 0.042 -0.1144)
OKLCHoklch(44.98% 0.122 290.2)
XYZxyz(11.2929, 8.4650, 28.6370)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564693 #839346
analogous
#465C93 #564693 #7D4693
triadic
#564693 #935646 #469356
tetradic
#564693 #93465C #839346 #46937D
square
#564693 #93465C #839346 #46937D
split-complementary
#564693 #937D46 #5C9346
monochromatic
#251F40 #3E326A #564693 #7362B4 #988BC8

Accessibility & contrast

On white

7.80
#564693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#564693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564693
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564693#FFFFFF#000000##FFFFFF
##5646931.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255496
Deuteranopia (green-blind)
#275091
Tritanopia (blue-blind)
#455665
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #564693;
/* rgb */ color: rgb(86, 70, 147);
/* oklch */ color: oklch(45.0% 0.122 290.2);
Tailwind
colors: {
  custom: {
    50: '#897ab3',
    500: '#564693',
    950: '#000000',
  },
}
SCSS
$custom: #564693;
$custom-light: #897ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#564693",
  "rgb": {
    "r": 86,
    "g": 70,
    "b": 147
  },
  "hsl": {
    "h": 252.468,
    "s": 35.484,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.12185,
    "h": 290.2
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#564693
secondary
#A9B381
accent
#CC5CB4
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #564693

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

Preview Lab → · Contrast checker → · Palette generator →

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