#561277#561277

#561277 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.5% C 0.160 H 311.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#561277
RGBrgb(86, 18, 119)
HSLhsl(280, 74%, 27%)
HSVhsv(280, 85%, 47%)
CMYKcmyk(27.7%, 84.9%, 0%, 53.3%)
CIE-LABlab(22.80, 46.08, -42.42)
CIE-LCHlch(22.80, 62.64, 317.37°)
OKLaboklab(35.55% 0.1049 -0.1203)
OKLCHoklch(35.55% 0.16 311.1)
XYZxyz(7.3832, 3.7431, 17.7828)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561277 #337712
analogous
#241277 #561277 #771266
triadic
#561277 #775612 #127756
tetradic
#561277 #772412 #337712 #126677
square
#561277 #772412 #337712 #126677
split-complementary
#561277 #667712 #127724
monochromatic
#13041B #300A42 #561277 #7C1AAC #A225DE

Accessibility & contrast

On white

12.01
#561277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#561277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561277
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561277#FFFFFF#000000##FFFFFF
##5612771.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#522C46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561277;
/* rgb */ color: rgb(86, 18, 119);
/* oklch */ color: oklch(35.5% 0.160 311.1);
Tailwind
colors: {
  custom: {
    50: '#8a5a9f',
    500: '#561277',
    950: '#000000',
  },
}
SCSS
$custom: #561277;
$custom-light: #8a5a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#561277",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 119
  },
  "hsl": {
    "h": 280.396,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35548,
    "c": 0.15962,
    "h": 311.1
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#561277
secondary
#5EAD37
accent
#F03774
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561277

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

Preview Lab → · Contrast checker → · Palette generator →

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