#564293#564293

#564293 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.2% C 0.128 H 291.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#564293
RGBrgb(86, 66, 147)
HSLhsl(255, 38%, 42%)
HSVhsv(255, 55%, 58%)
CMYKcmyk(41.5%, 55.1%, 0%, 42.4%)
CIE-LABlab(33.94, 28.76, -41.91)
CIE-LCHlch(33.94, 50.83, 304.46°)
OKLaboklab(44.24% 0.0473 -0.119)
OKLCHoklch(44.24% 0.128 291.7)
XYZxyz(11.0510, 7.9811, 28.5564)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#564293 #7F9342
analogous
#425793 #564293 #7F4293
triadic
#564293 #935642 #429356
tetradic
#564293 #934257 #7F9342 #42937F
square
#564293 #934257 #7F9342 #42937F
split-complementary
#564293 #937F42 #579342
monochromatic
#251C3F #3D2F69 #564293 #725CB6 #9787C9

Accessibility & contrast

On white

8.09
#564293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#564293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #564293
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##564293#FFFFFF#000000##FFFFFF
##5642931.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5196
Deuteranopia (green-blind)
#204E91
Tritanopia (blue-blind)
#465364
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #564293;
/* rgb */ color: rgb(86, 66, 147);
/* oklch */ color: oklch(44.2% 0.128 291.7);
Tailwind
colors: {
  custom: {
    50: '#8977b3',
    500: '#564293',
    950: '#000000',
  },
}
SCSS
$custom: #564293;
$custom-light: #8977b3;
$custom-dark: #000000;
JSON
{
  "hex": "#564293",
  "rgb": {
    "r": 86,
    "g": 66,
    "b": 147
  },
  "hsl": {
    "h": 254.815,
    "s": 38.028,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44242,
    "c": 0.12808,
    "h": 291.7
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#564293
secondary
#A6B47D
accent
#CE5AB1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #564293

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

Preview Lab → · Contrast checker → · Palette generator →

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