#561F98#561F98

#561F98 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.180 H 298.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#561F98
RGBrgb(86, 31, 152)
HSLhsl(267, 66%, 36%)
HSVhsv(267, 80%, 60%)
CMYKcmyk(43.4%, 79.6%, 0%, 40.4%)
CIE-LABlab(27.37, 49.07, -55.63)
CIE-LCHlch(27.37, 74.18, 311.41°)
OKLaboklab(39.62% 0.0849 -0.1592)
OKLCHoklch(39.62% 0.18 298.1)
XYZxyz(9.9938, 5.2252, 30.1817)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#561F98 #61981F
analogous
#1F2498 #561F98 #921F98
triadic
#561F98 #98561F #1F9856
tetradic
#561F98 #981F24 #61981F #1F9892
square
#561F98 #981F24 #61981F #1F9892
split-complementary
#561F98 #98921F #24981F
monochromatic
#1C0A32 #391565 #561F98 #7329CB #9355DC

Accessibility & contrast

On white

10.27
#561F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#561F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #561F98
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##561F98#FFFFFF#000000##FFFFFF
##561F981.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#45405B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #561f98;
/* rgb */ color: rgb(86, 31, 152);
/* oklch */ color: oklch(39.6% 0.180 298.1);
Tailwind
colors: {
  custom: {
    50: '#8c62b7',
    500: '#561f98',
    950: '#000000',
  },
}
SCSS
$custom: #561f98;
$custom-light: #8c62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#561f98",
  "rgb": {
    "r": 86,
    "g": 31,
    "b": 152
  },
  "hsl": {
    "h": 267.273,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39621,
    "c": 0.18047,
    "h": 298.1
  },
  "luminance": 0.05225
}

Semantic roles & 50–950 ramp

primary
#561F98
secondary
#8EC053
accent
#E93F9C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #561F98

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

Preview Lab → · Contrast checker → · Palette generator →

#561F98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva