#562FB8#562FB8

#562FB8 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.200 H 288.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#562FB8
RGBrgb(86, 47, 184)
HSLhsl(257, 59%, 45%)
HSVhsv(257, 74%, 72%)
CMYKcmyk(53.3%, 74.5%, 0%, 27.8%)
CIE-LABlab(32.86, 50.31, -65.91)
CIE-LCHlch(32.86, 82.92, 307.35°)
OKLaboklab(44.36% 0.0632 -0.1895)
OKLCHoklch(44.36% 0.2 288.4)
XYZxyz(13.5035, 7.4715, 46.0687)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FB8 #91B82F
analogous
#2F4DB8 #562FB8 #9A2FB8
triadic
#562FB8 #B8562F #2FB856
tetradic
#562FB8 #B82F4D #91B82F #2FB89A
square
#562FB8 #B82F4D #91B82F #2FB89A
split-complementary
#562FB8 #B89A2F #4DB82F
monochromatic
#281657 #3F2387 #562FB8 #7652D3 #9D82DF

Accessibility & contrast

On white

8.42
#562FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562FB8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FB8#FFFFFF#000000##FFFFFF
##562FB81.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#2F5571
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #562fb8;
/* rgb */ color: rgb(86, 47, 184);
/* oklch */ color: oklch(44.4% 0.200 288.4);
Tailwind
colors: {
  custom: {
    50: '#906cce',
    500: '#562fb8',
    950: '#000000',
  },
}
SCSS
$custom: #562fb8;
$custom-light: #906cce;
$custom-dark: #000000;
JSON
{
  "hex": "#562fb8",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 257.08,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44361,
    "c": 0.19975,
    "h": 288.4
  },
  "luminance": 0.07472
}

Semantic roles & 50–950 ramp

primary
#562FB8
secondary
#B2C87B
accent
#E245B6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #562FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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