#561273#561273

#561273 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 35.2% C 0.156 H 312.8°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#561273
RGBrgb(86, 18, 115)
HSLhsl(282, 73%, 26%)
HSVhsv(282, 84%, 45%)
CMYKcmyk(25.2%, 84.3%, 0%, 54.9%)
CIE-LABlab(22.48, 45.21, -40.39)
CIE-LCHlch(22.48, 60.62, 318.22°)
OKLaboklab(35.22% 0.1059 -0.1144)
OKLCHoklch(35.22% 0.156 312.8)
XYZxyz(7.1480, 3.6491, 16.5441)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561273 #2F7312
analogous
#251273 #561273 #73125F
triadic
#561273 #735612 #127356
tetradic
#561273 #732512 #2F7312 #125F73
square
#561273 #732512 #2F7312 #125F73
split-complementary
#561273 #5F7312 #127325
monochromatic
#14041A #2E0A3E #561273 #7E1AA8 #A523DD

Accessibility & contrast

On white

12.14
#561273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#561273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561273
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561273#FFFFFF#000000##FFFFFF
##5612731.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#013771
Tritanopia (blue-blind)
#532A43
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561273;
/* rgb */ color: rgb(86, 18, 115);
/* oklch */ color: oklch(35.2% 0.156 312.8);
Tailwind
colors: {
  custom: {
    50: '#8a5a9c',
    500: '#561273',
    950: '#000000',
  },
}
SCSS
$custom: #561273;
$custom-light: #8a5a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#561273",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 115
  },
  "hsl": {
    "h": 282.062,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35216,
    "c": 0.15584,
    "h": 312.8
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#561273
secondary
#59AA37
accent
#F0386F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561273

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

Preview Lab → · Contrast checker → · Palette generator →

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