#561673#561673

#561673 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.152 H 312.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#561673
RGBrgb(86, 22, 115)
HSLhsl(281, 68%, 27%)
HSVhsv(281, 81%, 45%)
CMYKcmyk(25.2%, 80.9%, 0%, 54.9%)
CIE-LABlab(22.97, 43.79, -39.59)
CIE-LCHlch(22.97, 59.03, 317.88°)
OKLaboklab(35.56% 0.1024 -0.1121)
OKLCHoklch(35.56% 0.152 312.4)
XYZxyz(7.2186, 3.7903, 16.5677)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561673 #337316
analogous
#271673 #561673 #731662
triadic
#561673 #735616 #167356
tetradic
#561673 #732716 #337316 #166273
square
#561673 #732716 #337316 #166273
split-complementary
#561673 #627316 #167327
monochromatic
#13051A #300C40 #561673 #7C20A6 #A22DD7

Accessibility & contrast

On white

11.95
#561673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#561673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561673
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561673#FFFFFF#000000##FFFFFF
##5616731.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#073871
Tritanopia (blue-blind)
#532C44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #561673;
/* rgb */ color: rgb(86, 22, 115);
/* oklch */ color: oklch(35.6% 0.152 312.4);
Tailwind
colors: {
  custom: {
    50: '#895c9c',
    500: '#561673',
    950: '#000000',
  },
}
SCSS
$custom: #561673;
$custom-light: #895c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#561673",
  "rgb": {
    "r": 86,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 281.29,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3556,
    "c": 0.15181,
    "h": 312.4
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#561673
secondary
#5EA93C
accent
#EB3D73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561673

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

Preview Lab → · Contrast checker → · Palette generator →

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