#561275#561275

#561275 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.4% C 0.158 H 311.9°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#561275
RGBrgb(86, 18, 117)
HSLhsl(281, 73%, 26%)
HSVhsv(281, 85%, 46%)
CMYKcmyk(26.5%, 84.6%, 0%, 54.1%)
CIE-LABlab(22.64, 45.64, -41.41)
CIE-LCHlch(22.64, 61.63, 317.79°)
OKLaboklab(35.38% 0.1054 -0.1174)
OKLCHoklch(35.38% 0.158 311.9)
XYZxyz(7.2643, 3.6956, 17.1568)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561275 #317512
analogous
#251275 #561275 #751263
triadic
#561275 #755612 #127556
tetradic
#561275 #752512 #317512 #126375
square
#561275 #752512 #317512 #126375
split-complementary
#561275 #637512 #127525
monochromatic
#13041B #2F0A40 #561275 #7D1AAA #A324DD

Accessibility & contrast

On white

12.08
#561275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#561275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561275
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561275#FFFFFF#000000##FFFFFF
##5612751.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003773
Tritanopia (blue-blind)
#522B45
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #561275;
/* rgb */ color: rgb(86, 18, 117);
/* oklch */ color: oklch(35.4% 0.158 311.9);
Tailwind
colors: {
  custom: {
    50: '#8a5a9d',
    500: '#561275',
    950: '#000000',
  },
}
SCSS
$custom: #561275;
$custom-light: #8a5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#561275",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 281.212,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35381,
    "c": 0.15773,
    "h": 311.9
  },
  "luminance": 0.03695
}

Semantic roles & 50–950 ramp

primary
#561275
secondary
#5CAC37
accent
#F03871
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #561275

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

Preview Lab → · Contrast checker → · Palette generator →

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