#562BB6#562BB6

#562BB6 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.7% C 0.202 H 289.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#562BB6
RGBrgb(86, 43, 182)
HSLhsl(259, 62%, 44%)
HSVhsv(259, 76%, 71%)
CMYKcmyk(52.7%, 76.4%, 0%, 28.6%)
CIE-LABlab(32.00, 51.68, -66.14)
CIE-LCHlch(32.00, 83.93, 308.00°)
OKLaboklab(43.7% 0.0668 -0.1901)
OKLCHoklch(43.7% 0.202 289.4)
XYZxyz(13.1427, 7.0830, 44.9215)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562BB6 #8BB62B
analogous
#2B46B6 #562BB6 #9C2BB6
triadic
#562BB6 #B6562B #2BB656
tetradic
#562BB6 #B62B46 #8BB62B #2BB69C
square
#562BB6 #B62B46 #8BB62B #2BB69C
split-complementary
#562BB6 #B69C2B #46B62B
monochromatic
#271453 #3F1F84 #562BB6 #754AD4 #9B7BE0

Accessibility & contrast

On white

8.69
#562BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#562BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562BB6
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562BB6#FFFFFF#000000##FFFFFF
##562BB61.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#32526F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #562bb6;
/* rgb */ color: rgb(86, 43, 182);
/* oklch */ color: oklch(43.7% 0.202 289.4);
Tailwind
colors: {
  custom: {
    50: '#9069cd',
    500: '#562bb6',
    950: '#000000',
  },
}
SCSS
$custom: #562bb6;
$custom-light: #9069cd;
$custom-dark: #000000;
JSON
{
  "hex": "#562bb6",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 258.561,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.437,
    "c": 0.20153,
    "h": 289.4
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#562BB6
secondary
#AEC875
accent
#E543B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #562BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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