#562491#562491

#562491 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.168 H 299.4°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#562491
RGBrgb(86, 36, 145)
HSLhsl(268, 60%, 35%)
HSVhsv(268, 75%, 57%)
CMYKcmyk(40.7%, 75.2%, 0%, 43.1%)
CIE-LABlab(27.53, 45.05, -51.06)
CIE-LCHlch(27.53, 68.09, 311.42°)
OKLaboklab(39.55% 0.0823 -0.1459)
OKLCHoklch(39.55% 0.168 299.4)
XYZxyz(9.5782, 5.2844, 27.2979)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562491 #5F9124
analogous
#242891 #562491 #8C2491
triadic
#562491 #915624 #249156
tetradic
#562491 #912428 #5F9124 #24918C
square
#562491 #912428 #5F9124 #24918C
split-complementary
#562491 #918C24 #289124
monochromatic
#1C0C2F #391860 #562491 #7330C2 #9359D6

Accessibility & contrast

On white

10.21
#562491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#562491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562491
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562491#FFFFFF#000000##FFFFFF
##5624911.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#484058
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562491;
/* rgb */ color: rgb(86, 36, 145);
/* oklch */ color: oklch(39.5% 0.168 299.4);
Tailwind
colors: {
  custom: {
    50: '#8b64b2',
    500: '#562491',
    950: '#000000',
  },
}
SCSS
$custom: #562491;
$custom-light: #8b64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#562491",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 267.523,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39546,
    "c": 0.1675,
    "h": 299.4
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#562491
secondary
#8DBA56
accent
#E3449A
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562491

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

Preview Lab → · Contrast checker → · Palette generator →

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