#561268#561268

#561268 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.146 H 318.0°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#561268
RGBrgb(86, 18, 104)
HSLhsl(287, 70%, 24%)
HSVhsv(287, 83%, 41%)
CMYKcmyk(17.3%, 82.7%, 0%, 59.2%)
CIE-LABlab(21.62, 42.87, -34.64)
CIE-LCHlch(21.62, 55.11, 321.06°)
OKLaboklab(34.35% 0.1081 -0.0975)
OKLCHoklch(34.35% 0.146 318)
XYZxyz(6.5524, 3.4108, 13.4072)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561268 #246812
analogous
#2B1268 #561268 #68124F
triadic
#561268 #685612 #126856
tetradic
#561268 #682B12 #246812 #124F68
square
#561268 #682B12 #246812 #124F68
split-complementary
#561268 #4F6812 #12682B
monochromatic
#16051A #2B0934 #561268 #811B9C #AC24D0

Accessibility & contrast

On white

12.48
#561268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#561268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561268
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561268#FFFFFF#000000##FFFFFF
##5612681.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#163666
Tritanopia (blue-blind)
#55253D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #561268;
/* rgb */ color: rgb(86, 18, 104);
/* oklch */ color: oklch(34.3% 0.146 318.0);
Tailwind
colors: {
  custom: {
    50: '#895994',
    500: '#561268',
    950: '#000000',
  },
}
SCSS
$custom: #561268;
$custom-light: #895994;
$custom-dark: #000000;
JSON
{
  "hex": "#561268",
  "rgb": {
    "r": 86,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 287.442,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34345,
    "c": 0.14556,
    "h": 318
  },
  "luminance": 0.03411
}

Semantic roles & 50–950 ramp

primary
#561268
secondary
#4CA036
accent
#ED3B60
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #561268

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

Preview Lab → · Contrast checker → · Palette generator →

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