#562BB7#562BB7

#562BB7 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.203 H 289.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#562BB7
RGBrgb(86, 43, 183)
HSLhsl(258, 62%, 44%)
HSVhsv(258, 77%, 72%)
CMYKcmyk(53%, 76.5%, 0%, 28.2%)
CIE-LABlab(32.09, 51.95, -66.58)
CIE-LCHlch(32.09, 84.45, 307.97°)
OKLaboklab(43.79% 0.0665 -0.1914)
OKLCHoklch(43.79% 0.203 289.2)
XYZxyz(13.2464, 7.1245, 45.4678)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562BB7 #8CB72B
analogous
#2B46B7 #562BB7 #9C2BB7
triadic
#562BB7 #B7562B #2BB756
tetradic
#562BB7 #B72B46 #8CB72B #2BB79C
square
#562BB7 #B72B46 #8CB72B #2BB79C
split-complementary
#562BB7 #B79C2B #46B72B
monochromatic
#271454 #3F1F85 #562BB7 #754BD5 #9B7CE0

Accessibility & contrast

On white

8.66
#562BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562BB7
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562BB7#FFFFFF#000000##FFFFFF
##562BB71.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#315270
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #562bb7;
/* rgb */ color: rgb(86, 43, 183);
/* oklch */ color: oklch(43.8% 0.203 289.2);
Tailwind
colors: {
  custom: {
    50: '#9069ce',
    500: '#562bb7',
    950: '#000000',
  },
}
SCSS
$custom: #562bb7;
$custom-light: #9069ce;
$custom-dark: #000000;
JSON
{
  "hex": "#562bb7",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 258.429,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43794,
    "c": 0.20265,
    "h": 289.2
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #562BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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