#562EB9#562EB9

#562EB9 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.202 H 288.4°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#562EB9
RGBrgb(86, 46, 185)
HSLhsl(257, 60%, 45%)
HSVhsv(257, 75%, 73%)
CMYKcmyk(53.5%, 75.1%, 0%, 27.5%)
CIE-LABlab(32.78, 51.08, -66.63)
CIE-LCHlch(32.78, 83.96, 307.47°)
OKLaboklab(44.33% 0.0637 -0.1916)
OKLCHoklch(44.33% 0.202 288.4)
XYZxyz(13.5691, 7.4345, 46.6096)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562EB9 #91B92E
analogous
#2E4CB9 #562EB9 #9B2EB9
triadic
#562EB9 #B9562E #2EB956
tetradic
#562EB9 #B92E4C #91B92E #2EB99B
square
#562EB9 #B92E4C #91B92E #2EB99B
split-complementary
#562EB9 #B99B2E #4CB92E
monochromatic
#281657 #3F2288 #562EB9 #7651D4 #9D82E0

Accessibility & contrast

On white

8.44
#562EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#562EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562EB9
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562EB9#FFFFFF#000000##FFFFFF
##562EB91.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BD
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#2F5472
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #562eb9;
/* rgb */ color: rgb(86, 46, 185);
/* oklch */ color: oklch(44.3% 0.202 288.4);
Tailwind
colors: {
  custom: {
    50: '#906bcf',
    500: '#562eb9',
    950: '#000000',
  },
}
SCSS
$custom: #562eb9;
$custom-light: #906bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#562eb9",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 257.266,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.20192,
    "h": 288.4
  },
  "luminance": 0.07435
}

Semantic roles & 50–950 ramp

primary
#562EB9
secondary
#B2C97A
accent
#E344B6
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #562EB9

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

Preview Lab → · Contrast checker → · Palette generator →

#562EB9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva