#562DBF#562DBF

#562DBF is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.210 H 287.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#562DBF
RGBrgb(86, 45, 191)
HSLhsl(257, 62%, 46%)
HSVhsv(257, 76%, 75%)
CMYKcmyk(55%, 76.4%, 0%, 25.1%)
CIE-LABlab(33.17, 53.23, -69.53)
CIE-LCHlch(33.17, 87.56, 307.44°)
OKLaboklab(44.78% 0.0628 -0.2001)
OKLCHoklch(44.78% 0.21 287.4)
XYZxyz(14.1773, 7.6160, 50.0031)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562DBF #96BF2D
analogous
#2D4DBF #562DBF #9F2DBF
triadic
#562DBF #BF562D #2DBF56
tetradic
#562DBF #BF2D4D #96BF2D #2DBF9F
square
#562DBF #BF2D4D #96BF2D #2DBF9F
split-complementary
#562DBF #BF9F2D #4DBF2D
monochromatic
#29165C #40218D #562DBF #7853D6 #9F84E2

Accessibility & contrast

On white

8.32
#562DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562DBF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562DBF#FFFFFF#000000##FFFFFF
##562DBF1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#285675
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #562dbf;
/* rgb */ color: rgb(86, 45, 191);
/* oklch */ color: oklch(44.8% 0.210 287.4);
Tailwind
colors: {
  custom: {
    50: '#916bd4',
    500: '#562dbf',
    950: '#000000',
  },
}
SCSS
$custom: #562dbf;
$custom-light: #916bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#562dbf",
  "rgb": {
    "r": 86,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 256.849,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44779,
    "c": 0.20971,
    "h": 287.4
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#562DBF
secondary
#B5CB7C
accent
#E543B7
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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