#562591#562591

#562591 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.166 H 299.3°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#562591
RGBrgb(86, 37, 145)
HSLhsl(267, 59%, 36%)
HSVhsv(267, 74%, 57%)
CMYKcmyk(40.7%, 74.5%, 0%, 43.1%)
CIE-LABlab(27.70, 44.57, -50.79)
CIE-LCHlch(27.70, 67.57, 311.27°)
OKLaboklab(39.67% 0.0814 -0.1451)
OKLCHoklch(39.67% 0.166 299.3)
XYZxyz(9.6089, 5.3458, 27.3082)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562591 #609125
analogous
#252A91 #562591 #8C2591
triadic
#562591 #915625 #259156
tetradic
#562591 #91252A #609125 #25918C
square
#562591 #91252A #609125 #25918C
split-complementary
#562591 #918C25 #2A9125
monochromatic
#1C0C2F #391960 #562591 #7331C2 #935BD5

Accessibility & contrast

On white

10.15
#562591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#562591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562591
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562591#FFFFFF#000000##FFFFFF
##5625911.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562591;
/* rgb */ color: rgb(86, 37, 145);
/* oklch */ color: oklch(39.7% 0.166 299.3);
Tailwind
colors: {
  custom: {
    50: '#8b64b2',
    500: '#562591',
    950: '#000000',
  },
}
SCSS
$custom: #562591;
$custom-light: #8b64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#562591",
  "rgb": {
    "r": 86,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 267.222,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39665,
    "c": 0.16632,
    "h": 299.3
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#562591
secondary
#8DBA58
accent
#E3459B
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562591

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

Preview Lab → · Contrast checker → · Palette generator →

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