#561FA5#561FA5

#561FA5 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.8% C 0.194 H 294.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#561FA5
RGBrgb(86, 31, 165)
HSLhsl(265, 68%, 38%)
HSVhsv(265, 81%, 65%)
CMYKcmyk(47.9%, 81.2%, 0%, 35.3%)
CIE-LABlab(28.58, 52.39, -61.57)
CIE-LCHlch(28.58, 80.84, 310.39°)
OKLaboklab(40.83% 0.0808 -0.1766)
OKLCHoklch(40.83% 0.194 294.6)
XYZxyz(11.1174, 5.6747, 36.0996)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561FA5 #6EA51F
analogous
#1F2BA5 #561FA5 #991FA5
triadic
#561FA5 #A5561F #1FA556
tetradic
#561FA5 #A51F2B #6EA51F #1FA599
square
#561FA5 #A51F2B #6EA51F #1FA599
split-complementary
#561FA5 #A5991F #2BA51F
monochromatic
#200C3E #3B1571 #561FA5 #712AD7 #935EE1

Accessibility & contrast

On white

9.84
#561FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#561FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561FA5
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561FA5#FFFFFF#000000##FFFFFF
##561FA51.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#3E4663
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #561fa5;
/* rgb */ color: rgb(86, 31, 165);
/* oklch */ color: oklch(40.8% 0.194 294.6);
Tailwind
colors: {
  custom: {
    50: '#8e62c1',
    500: '#561fa5',
    950: '#000000',
  },
}
SCSS
$custom: #561fa5;
$custom-light: #8e62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#561fa5",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 264.627,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.40831,
    "c": 0.19425,
    "h": 294.6
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#561FA5
secondary
#99C55B
accent
#EB3DA4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #561FA5

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

Preview Lab → · Contrast checker → · Palette generator →

#561FA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva