#562CBA#562CBA

#562CBA is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.205 H 288.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#562CBA
RGBrgb(86, 44, 186)
HSLhsl(258, 62%, 45%)
HSVhsv(258, 76%, 73%)
CMYKcmyk(53.8%, 76.3%, 0%, 27.1%)
CIE-LABlab(32.53, 52.31, -67.62)
CIE-LCHlch(32.53, 85.50, 307.73°)
OKLaboklab(44.19% 0.0649 -0.1945)
OKLCHoklch(44.19% 0.205 288.5)
XYZxyz(13.5988, 7.3243, 47.1420)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562CBA #90BA2C
analogous
#2C49BA #562CBA #9D2CBA
triadic
#562CBA #BA562C #2CBA56
tetradic
#562CBA #BA2C49 #90BA2C #2CBA9D
square
#562CBA #BA2C49 #90BA2C #2CBA9D
split-complementary
#562CBA #BA9D2C #49BA2C
monochromatic
#281557 #3F2089 #562CBA #764ED5 #9C80E1

Accessibility & contrast

On white

8.52
#562CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#562CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562CBA
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562CBA#FFFFFF#000000##FFFFFF
##562CBA1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#2E5472
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #562cba;
/* rgb */ color: rgb(86, 44, 186);
/* oklch */ color: oklch(44.2% 0.205 288.5);
Tailwind
colors: {
  custom: {
    50: '#906ad0',
    500: '#562cba',
    950: '#000000',
  },
}
SCSS
$custom: #562cba;
$custom-light: #906ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#562cba",
  "rgb": {
    "r": 86,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 257.746,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44191,
    "c": 0.20505,
    "h": 288.5
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#562CBA
secondary
#B2CA78
accent
#E543B5
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #562CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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