#561874#561874

#561874 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.151 H 311.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#561874
RGBrgb(86, 24, 116)
HSLhsl(280, 66%, 27%)
HSVhsv(280, 79%, 45%)
CMYKcmyk(25.9%, 79.3%, 0%, 54.5%)
CIE-LABlab(23.31, 43.23, -39.67)
CIE-LCHlch(23.31, 58.68, 317.46°)
OKLaboklab(35.83% 0.1003 -0.1123)
OKLCHoklch(35.83% 0.151 311.8)
XYZxyz(7.3162, 3.8929, 16.8856)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561874 #367418
analogous
#281874 #561874 #741864
triadic
#561874 #745618 #187456
tetradic
#561874 #742818 #367418 #186474
square
#561874 #742818 #367418 #186474
split-complementary
#561874 #647418 #187428
monochromatic
#130519 #300E41 #561874 #7C22A7 #9F32D5

Accessibility & contrast

On white

11.81
#561874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#561874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561874
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561874#FFFFFF#000000##FFFFFF
##5618741.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#073972
Tritanopia (blue-blind)
#522E45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #561874;
/* rgb */ color: rgb(86, 24, 116);
/* oklch */ color: oklch(35.8% 0.151 311.8);
Tailwind
colors: {
  custom: {
    50: '#895c9d',
    500: '#561874',
    950: '#000000',
  },
}
SCSS
$custom: #561874;
$custom-light: #895c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#561874",
  "rgb": {
    "r": 86,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 280.435,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3583,
    "c": 0.1506,
    "h": 311.8
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#561874
secondary
#61A93F
accent
#E93F76
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561874

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

Preview Lab → · Contrast checker → · Palette generator →

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