#562B83#562B83

#562B83 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.142 H 302.8°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#562B83
RGBrgb(86, 43, 131)
HSLhsl(269, 51%, 34%)
HSVhsv(269, 67%, 51%)
CMYKcmyk(34.4%, 67.2%, 0%, 48.6%)
CIE-LABlab(27.70, 37.83, -42.09)
CIE-LCHlch(27.70, 56.59, 311.95°)
OKLaboklab(39.32% 0.077 -0.1195)
OKLCHoklch(39.32% 0.142 302.8)
XYZxyz(8.7974, 5.3449, 22.0365)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B83 #58832B
analogous
#2B2C83 #562B83 #822B83
triadic
#562B83 #83562B #2B8356
tetradic
#562B83 #832B2C #58832B #2B8382
square
#562B83 #832B2C #58832B #2B8382
split-complementary
#562B83 #83822B #2C832B
monochromatic
#1A0D27 #381C55 #562B83 #743AB1 #935ECA

Accessibility & contrast

On white

10.15
#562B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#562B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B83
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B83#FFFFFF#000000##FFFFFF
##562B831.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#0B4181
Tritanopia (blue-blind)
#4D3E53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562b83;
/* rgb */ color: rgb(86, 43, 131);
/* oklch */ color: oklch(39.3% 0.142 302.8);
Tailwind
colors: {
  custom: {
    50: '#8967a8',
    500: '#562b83',
    950: '#000000',
  },
}
SCSS
$custom: #562b83;
$custom-light: #8967a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562b83",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 269.318,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39316,
    "c": 0.14219,
    "h": 302.8
  },
  "luminance": 0.05345
}

Semantic roles & 50–950 ramp

primary
#562B83
secondary
#86B05A
accent
#DA4E95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562B83

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

Preview Lab → · Contrast checker → · Palette generator →

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