#562CBD#562CBD

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

Color values

HEX#562CBD
RGBrgb(86, 44, 189)
HSLhsl(257, 62%, 46%)
HSVhsv(257, 77%, 74%)
CMYKcmyk(54.5%, 76.7%, 0%, 25.9%)
CIE-LABlab(32.82, 53.14, -68.93)
CIE-LCHlch(32.82, 87.04, 307.63°)
OKLaboklab(44.47% 0.0641 -0.1983)
OKLCHoklch(44.47% 0.208 287.9)
XYZxyz(13.9210, 7.4532, 48.8393)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CBD #93BD2C
analogous
#2C4BBD #562CBD #9E2CBD
triadic
#562CBD #BD562C #2CBD56
tetradic
#562CBD #BD2C4B #93BD2C #2CBD9E
square
#562CBD #BD2C4B #93BD2C #2CBD9E
split-complementary
#562CBD #BD9E2C #4BBD2C
monochromatic
#29155A #3F208B #562CBD #7750D6 #9D82E2

Accessibility & contrast

On white

8.43
#562CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562CBD
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CBD#FFFFFF#000000##FFFFFF
##562CBD1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#2B5573
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #562cbd;
/* rgb */ color: rgb(86, 44, 189);
/* oklch */ color: oklch(44.5% 0.208 287.9);
Tailwind
colors: {
  custom: {
    50: '#916ad2',
    500: '#562cbd',
    950: '#000000',
  },
}
SCSS
$custom: #562cbd;
$custom-light: #916ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#562cbd",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 257.379,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44475,
    "c": 0.20842,
    "h": 287.9
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#562CBD
secondary
#B3CB7A
accent
#E542B6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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