#562ABD#562ABD

#562ABD is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.3% C 0.210 H 288.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#562ABD
RGBrgb(86, 42, 189)
HSLhsl(258, 64%, 45%)
HSVhsv(258, 78%, 74%)
CMYKcmyk(54.5%, 77.8%, 0%, 25.9%)
CIE-LABlab(32.50, 54.06, -69.46)
CIE-LCHlch(32.50, 88.01, 307.90°)
OKLaboklab(44.25% 0.0655 -0.1998)
OKLCHoklch(44.25% 0.21 288.2)
XYZxyz(13.8483, 7.3078, 48.8151)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562ABD #91BD2A
analogous
#2A48BD #562ABD #9F2ABD
triadic
#562ABD #BD562A #2ABD56
tetradic
#562ABD #BD2A48 #91BD2A #2ABD9F
square
#562ABD #BD2A48 #91BD2A #2ABD9F
split-complementary
#562ABD #BD9F2A #48BD2A
monochromatic
#281459 #3F1F8B #562ABD #764DD7 #9D7FE3

Accessibility & contrast

On white

8.53
#562ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#562ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562ABD
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562ABD#FFFFFF#000000##FFFFFF
##562ABD1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562abd;
/* rgb */ color: rgb(86, 42, 189);
/* oklch */ color: oklch(44.3% 0.210 288.2);
Tailwind
colors: {
  custom: {
    50: '#9169d2',
    500: '#562abd',
    950: '#000000',
  },
}
SCSS
$custom: #562abd;
$custom-light: #9169d2;
$custom-dark: #000000;
JSON
{
  "hex": "#562abd",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 257.959,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.21031,
    "h": 288.2
  },
  "luminance": 0.07308
}

Semantic roles & 50–950 ramp

primary
#562ABD
secondary
#B2CB78
accent
#E741B5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #562ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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