#561895#561895

#561895 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.7% C 0.184 H 299.7°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#561895
RGBrgb(86, 24, 149)
HSLhsl(270, 72%, 34%)
HSVhsv(270, 84%, 58%)
CMYKcmyk(42.3%, 83.9%, 0%, 41.6%)
CIE-LABlab(26.16, 51.02, -55.76)
CIE-LCHlch(26.16, 75.58, 312.46°)
OKLaboklab(38.7% 0.0912 -0.1596)
OKLCHoklch(38.7% 0.184 299.7)
XYZxyz(9.5878, 4.8015, 28.8496)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561895 #579518
analogous
#181995 #561895 #951895
triadic
#561895 #955618 #189556
tetradic
#561895 #951819 #579518 #189595
square
#561895 #951819 #579518 #189595
split-complementary
#561895 #959518 #199518
monochromatic
#19072C #381060 #561895 #7420CA #9346E1

Accessibility & contrast

On white

10.71
#561895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#561895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561895
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561895#FFFFFF#000000##FFFFFF
##5618951.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#473C58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #561895;
/* rgb */ color: rgb(86, 24, 149);
/* oklch */ color: oklch(38.7% 0.184 299.7);
Tailwind
colors: {
  custom: {
    50: '#8d5eb5',
    500: '#561895',
    950: '#000000',
  },
}
SCSS
$custom: #561895;
$custom-light: #8d5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#561895",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 269.76,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.387,
    "c": 0.18377,
    "h": 299.7
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#561895
secondary
#85C246
accent
#EF3995
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #561895

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

Preview Lab → · Contrast checker → · Palette generator →

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