#562BA9#562BA9

#562BA9 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.187 H 292.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#562BA9
RGBrgb(86, 43, 169)
HSLhsl(260, 59%, 42%)
HSVhsv(260, 75%, 66%)
CMYKcmyk(49.1%, 74.6%, 0%, 33.7%)
CIE-LABlab(30.81, 48.10, -60.32)
CIE-LCHlch(30.81, 77.15, 308.57°)
OKLaboklab(42.5% 0.0702 -0.1731)
OKLCHoklch(42.5% 0.187 292.1)
XYZxyz(11.8610, 6.5703, 38.1717)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562BA9 #7EA92B
analogous
#2B3FA9 #562BA9 #952BA9
triadic
#562BA9 #A9562B #2BA956
tetradic
#562BA9 #A92B3F #7EA92B #2BA995
square
#562BA9 #A92B3F #7EA92B #2BA995
split-complementary
#562BA9 #A9952B #3FA92B
monochromatic
#241247 #3D1F78 #562BA9 #7242CF #9773DB

Accessibility & contrast

On white

9.07
#562BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562BA9
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562BA9#FFFFFF#000000##FFFFFF
##562BA91.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#3B4D68
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #562ba9;
/* rgb */ color: rgb(86, 43, 169);
/* oklch */ color: oklch(42.5% 0.187 292.1);
Tailwind
colors: {
  custom: {
    50: '#8e69c4',
    500: '#562ba9',
    950: '#000000',
  },
}
SCSS
$custom: #562ba9;
$custom-light: #8e69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#562ba9",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 260.476,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42503,
    "c": 0.18678,
    "h": 292.1
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #562BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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