#561985#561985

#561985 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.167 H 304.9°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#561985
RGBrgb(86, 25, 133)
HSLhsl(274, 68%, 31%)
HSVhsv(274, 81%, 52%)
CMYKcmyk(35.3%, 81.2%, 0%, 47.8%)
CIE-LABlab(24.85, 46.80, -47.96)
CIE-LCHlch(24.85, 67.01, 314.30°)
OKLaboklab(37.35% 0.0954 -0.1367)
OKLCHoklch(37.35% 0.167 304.9)
XYZxyz(8.4181, 4.3672, 22.5852)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561985 #488519
analogous
#201985 #561985 #85197E
triadic
#561985 #855619 #198556
tetradic
#561985 #852019 #488519 #197E85
square
#561985 #852019 #488519 #197E85
split-complementary
#561985 #7E8519 #198520
monochromatic
#13061E #350F51 #561985 #7723B9 #963EDB

Accessibility & contrast

On white

11.21
#561985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#561985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561985
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561985#FFFFFF#000000##FFFFFF
##5619851.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#4D364F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #561985;
/* rgb */ color: rgb(86, 25, 133);
/* oklch */ color: oklch(37.3% 0.167 304.9);
Tailwind
colors: {
  custom: {
    50: '#8b5ea9',
    500: '#561985',
    950: '#000000',
  },
}
SCSS
$custom: #561985;
$custom-light: #8b5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#561985",
  "rgb": {
    "r": 86,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 273.889,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37346,
    "c": 0.16666,
    "h": 304.9
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#561985
secondary
#75B941
accent
#EB3D89
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #561985

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

Preview Lab → · Contrast checker → · Palette generator →

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