#562BB4#562BB4

#562BB4 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.199 H 289.7°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#562BB4
RGBrgb(86, 43, 180)
HSLhsl(259, 61%, 44%)
HSVhsv(259, 76%, 71%)
CMYKcmyk(52.2%, 76.1%, 0%, 29.4%)
CIE-LABlab(31.81, 51.13, -65.26)
CIE-LCHlch(31.81, 82.90, 308.08°)
OKLaboklab(43.51% 0.0673 -0.1876)
OKLCHoklch(43.51% 0.199 289.7)
XYZxyz(12.9375, 7.0009, 43.8408)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562BB4 #89B42B
analogous
#2B44B4 #562BB4 #9A2BB4
triadic
#562BB4 #B4562B #2BB456
tetradic
#562BB4 #B42B44 #89B42B #2BB49A
square
#562BB4 #B42B44 #89B42B #2BB49A
split-complementary
#562BB4 #B49A2B #44B42B
monochromatic
#271351 #3E1F83 #562BB4 #7449D3 #9A7ADF

Accessibility & contrast

On white

8.75
#562BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#562BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562BB4
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562BB4#FFFFFF#000000##FFFFFF
##562BB41.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#33516E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #562bb4;
/* rgb */ color: rgb(86, 43, 180);
/* oklch */ color: oklch(43.5% 0.199 289.7);
Tailwind
colors: {
  custom: {
    50: '#8f69cc',
    500: '#562bb4',
    950: '#000000',
  },
}
SCSS
$custom: #562bb4;
$custom-light: #8f69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#562bb4",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 258.832,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43513,
    "c": 0.19928,
    "h": 289.7
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#562BB4
secondary
#ADC773
accent
#E543B2
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #562BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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