#562BB3#562BB3

#562BB3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.4% C 0.198 H 289.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#562BB3
RGBrgb(86, 43, 179)
HSLhsl(259, 61%, 44%)
HSVhsv(259, 76%, 70%)
CMYKcmyk(52%, 76%, 0%, 29.8%)
CIE-LABlab(31.72, 50.85, -64.81)
CIE-LCHlch(31.72, 82.38, 308.12°)
OKLaboklab(43.42% 0.0676 -0.1863)
OKLCHoklch(43.42% 0.198 289.9)
XYZxyz(12.8360, 6.9603, 43.3062)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562BB3 #88B32B
analogous
#2B44B3 #562BB3 #9A2BB3
triadic
#562BB3 #B3562B #2BB356
tetradic
#562BB3 #B32B44 #88B32B #2BB39A
square
#562BB3 #B32B44 #88B32B #2BB39A
split-complementary
#562BB3 #B39A2B #44B32B
monochromatic
#271350 #3E1F82 #562BB3 #7448D3 #9A79DF

Accessibility & contrast

On white

8.78
#562BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#562BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562BB3
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562BB3#FFFFFF#000000##FFFFFF
##562BB31.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#34516D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #562bb3;
/* rgb */ color: rgb(86, 43, 179);
/* oklch */ color: oklch(43.4% 0.198 289.9);
Tailwind
colors: {
  custom: {
    50: '#8f69cb',
    500: '#562bb3',
    950: '#000000',
  },
}
SCSS
$custom: #562bb3;
$custom-light: #8f69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#562bb3",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 258.971,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43419,
    "c": 0.19815,
    "h": 289.9
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#562BB3
secondary
#ACC773
accent
#E443B1
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #562BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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