#562FB9#562FB9

#562FB9 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.201 H 288.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#562FB9
RGBrgb(86, 47, 185)
HSLhsl(257, 59%, 45%)
HSVhsv(257, 75%, 73%)
CMYKcmyk(53.5%, 74.6%, 0%, 27.5%)
CIE-LABlab(32.95, 50.59, -66.35)
CIE-LCHlch(32.95, 83.44, 307.32°)
OKLaboklab(44.45% 0.0629 -0.1908)
OKLCHoklch(44.45% 0.201 288.2)
XYZxyz(13.6086, 7.5136, 46.6227)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FB9 #92B92F
analogous
#2F4DB9 #562FB9 #9B2FB9
triadic
#562FB9 #B9562F #2FB956
tetradic
#562FB9 #B92F4D #92B92F #2FB99B
square
#562FB9 #B92F4D #92B92F #2FB99B
split-complementary
#562FB9 #B99B2F #4DB92F
monochromatic
#291657 #3F2388 #562FB9 #7752D3 #9D83DF

Accessibility & contrast

On white

8.39
#562FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#562FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FB9
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FB9#FFFFFF#000000##FFFFFF
##562FB91.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BD
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#2F5572
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #562fb9;
/* rgb */ color: rgb(86, 47, 185);
/* oklch */ color: oklch(44.5% 0.201 288.2);
Tailwind
colors: {
  custom: {
    50: '#906ccf',
    500: '#562fb9',
    950: '#000000',
  },
}
SCSS
$custom: #562fb9;
$custom-light: #906ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#562fb9",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 256.957,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44454,
    "c": 0.20089,
    "h": 288.2
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#562FB9
secondary
#B3C97B
accent
#E345B6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #562FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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