#562BAA#562BAA

#562BAA is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.188 H 291.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#562BAA
RGBrgb(86, 43, 170)
HSLhsl(260, 60%, 42%)
HSVhsv(260, 75%, 67%)
CMYKcmyk(49.4%, 74.7%, 0%, 33.3%)
CIE-LABlab(30.90, 48.38, -60.77)
CIE-LCHlch(30.90, 77.68, 308.52°)
OKLaboklab(42.59% 0.0699 -0.1744)
OKLCHoklch(42.59% 0.188 291.9)
XYZxyz(11.9553, 6.6080, 38.6680)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562BAA #7FAA2B
analogous
#2B40AA #562BAA #962BAA
triadic
#562BAA #AA562B #2BAA56
tetradic
#562BAA #AA2B40 #7FAA2B #2BAA96
square
#562BAA #AA2B40 #7FAA2B #2BAA96
split-complementary
#562BAA #AA962B #40AA2B
monochromatic
#251248 #3D1F79 #562BAA #7243CF #9774DC

Accessibility & contrast

On white

9.05
#562BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#562BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562BAA
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562BAA#FFFFFF#000000##FFFFFF
##562BAA1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#3B4D68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #562baa;
/* rgb */ color: rgb(86, 43, 170);
/* oklch */ color: oklch(42.6% 0.188 291.9);
Tailwind
colors: {
  custom: {
    50: '#8e69c4',
    500: '#562baa',
    950: '#000000',
  },
}
SCSS
$custom: #562baa;
$custom-light: #8e69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#562baa",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 260.315,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42593,
    "c": 0.18792,
    "h": 291.9
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#562BAA
secondary
#A6C36E
accent
#E345AD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #562BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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