#562FBB#562FBB

#562FBB is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.6% C 0.203 H 287.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#562FBB
RGBrgb(86, 47, 187)
HSLhsl(257, 60%, 46%)
HSVhsv(257, 75%, 73%)
CMYKcmyk(54%, 74.9%, 0%, 26.7%)
CIE-LABlab(33.13, 51.15, -67.23)
CIE-LCHlch(33.13, 84.48, 307.27°)
OKLaboklab(44.64% 0.0624 -0.1934)
OKLCHoklch(44.64% 0.203 287.9)
XYZxyz(13.8213, 7.5986, 47.7425)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FBB #94BB2F
analogous
#2F4EBB #562FBB #9C2FBB
triadic
#562FBB #BB562F #2FBB56
tetradic
#562FBB #BB2F4E #94BB2F #2FBB9C
square
#562FBB #BB2F4E #94BB2F #2FBB9C
split-complementary
#562FBB #BB9C2F #4EBB2F
monochromatic
#291659 #40238A #562FBB #7753D4 #9E84E0

Accessibility & contrast

On white

8.33
#562FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#562FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FBB
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FBB#FFFFFF#000000##FFFFFF
##562FBB1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#2D5673
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #562fbb;
/* rgb */ color: rgb(86, 47, 187);
/* oklch */ color: oklch(44.6% 0.203 287.9);
Tailwind
colors: {
  custom: {
    50: '#906cd1',
    500: '#562fbb',
    950: '#000000',
  },
}
SCSS
$custom: #562fbb;
$custom-light: #906cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#562fbb",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 256.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44639,
    "c": 0.20319,
    "h": 287.9
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#562FBB
secondary
#B4C97C
accent
#E345B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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