#561B74#561B74

#561B74 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.147 H 311.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#561B74
RGBrgb(86, 27, 116)
HSLhsl(280, 62%, 28%)
HSVhsv(280, 77%, 45%)
CMYKcmyk(25.9%, 76.7%, 0%, 54.5%)
CIE-LABlab(23.75, 41.99, -38.97)
CIE-LCHlch(23.75, 57.29, 317.14°)
OKLaboklab(36.14% 0.0973 -0.1102)
OKLCHoklch(36.14% 0.147 311.4)
XYZxyz(7.3815, 4.0234, 16.9074)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561B74 #39741B
analogous
#291B74 #561B74 #741B65
triadic
#561B74 #74561B #1B7456
tetradic
#561B74 #74291B #39741B #1B6574
square
#561B74 #74291B #39741B #1B6574
split-complementary
#561B74 #65741B #1B7429
monochromatic
#120619 #310F42 #561B74 #7B27A6 #9E39D1

Accessibility & contrast

On white

11.64
#561B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#561B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561B74
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561B74#FFFFFF#000000##FFFFFF
##561B741.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#0C3A72
Tritanopia (blue-blind)
#522F46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #561b74;
/* rgb */ color: rgb(86, 27, 116);
/* oklch */ color: oklch(36.1% 0.147 311.4);
Tailwind
colors: {
  custom: {
    50: '#895e9d',
    500: '#561b74',
    950: '#000000',
  },
}
SCSS
$custom: #561b74;
$custom-light: #895e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#561b74",
  "rgb": {
    "r": 86,
    "g": 27,
    "b": 116
  },
  "hsl": {
    "h": 279.775,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.36137,
    "c": 0.14707,
    "h": 311.4
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#561B74
secondary
#65A942
accent
#E54279
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #561B74

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

Preview Lab → · Contrast checker → · Palette generator →

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