#562BA8#562BA8

#562BA8 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.186 H 292.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#562BA8
RGBrgb(86, 43, 168)
HSLhsl(261, 59%, 41%)
HSVhsv(261, 74%, 66%)
CMYKcmyk(48.8%, 74.4%, 0%, 34.1%)
CIE-LABlab(30.72, 47.83, -59.86)
CIE-LCHlch(30.72, 76.62, 308.62°)
OKLaboklab(42.41% 0.0704 -0.1718)
OKLCHoklch(42.41% 0.186 292.3)
XYZxyz(11.7675, 6.5329, 37.6792)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562BA8 #7DA82B
analogous
#2B3FA8 #562BA8 #952BA8
triadic
#562BA8 #A8562B #2BA856
tetradic
#562BA8 #A82B3F #7DA82B #2BA895
square
#562BA8 #A82B3F #7DA82B #2BA895
split-complementary
#562BA8 #A8952B #3FA82B
monochromatic
#241247 #3D1F77 #562BA8 #7242CF #9672DB

Accessibility & contrast

On white

9.10
#562BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#562BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562BA8
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562BA8#FFFFFF#000000##FFFFFF
##562BA81.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#3C4C67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #562ba8;
/* rgb */ color: rgb(86, 43, 168);
/* oklch */ color: oklch(42.4% 0.186 292.3);
Tailwind
colors: {
  custom: {
    50: '#8e69c3',
    500: '#562ba8',
    950: '#000000',
  },
}
SCSS
$custom: #562ba8;
$custom-light: #8e69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#562ba8",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 260.64,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.18563,
    "h": 292.3
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#562BA8
secondary
#A5C26C
accent
#E245AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #562BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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