#561E7F#561E7F

#561E7F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.155 H 306.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#561E7F
RGBrgb(86, 30, 127)
HSLhsl(275, 62%, 31%)
HSVhsv(275, 76%, 50%)
CMYKcmyk(32.3%, 76.4%, 0%, 50.2%)
CIE-LABlab(25.07, 43.28, -43.82)
CIE-LCHlch(25.07, 61.59, 314.65°)
OKLaboklab(37.35% 0.0922 -0.1245)
OKLCHoklch(37.35% 0.155 306.5)
XYZxyz(8.1320, 4.4394, 20.5030)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561E7F #477F1E
analogous
#251E7F #561E7F #7F1E77
triadic
#561E7F #7F561E #1E7F56
tetradic
#561E7F #7F251E #477F1E #1E777F
square
#561E7F #7F251E #477F1E #1E777F
split-complementary
#561E7F #777F1E #1E7F25
monochromatic
#13071C #34124D #561E7F #782AB1 #9744D3

Accessibility & contrast

On white

11.12
#561E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#561E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561E7F
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561E7F#FFFFFF#000000##FFFFFF
##561E7F1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#003C7D
Tritanopia (blue-blind)
#4F354D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561e7f;
/* rgb */ color: rgb(86, 30, 127);
/* oklch */ color: oklch(37.3% 0.155 306.5);
Tailwind
colors: {
  custom: {
    50: '#8a60a5',
    500: '#561e7f',
    950: '#000000',
  },
}
SCSS
$custom: #561e7f;
$custom-light: #8a60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#561e7f",
  "rgb": {
    "r": 86,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 274.639,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37347,
    "c": 0.15495,
    "h": 306.5
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#561E7F
secondary
#74B247
accent
#E54387
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C050F
muted
#7D797F

Preview Lab

Preview with #561E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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