#562A83#562A83

#562A83 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.144 H 303.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#562A83
RGBrgb(86, 42, 131)
HSLhsl(270, 51%, 34%)
HSVhsv(270, 68%, 51%)
CMYKcmyk(34.4%, 67.9%, 0%, 48.6%)
CIE-LABlab(27.50, 38.37, -42.40)
CIE-LCHlch(27.50, 57.19, 312.14°)
OKLaboklab(39.17% 0.0782 -0.1204)
OKLCHoklch(39.17% 0.144 303)
XYZxyz(8.7615, 5.2731, 22.0245)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562A83 #57832A
analogous
#2A2B83 #562A83 #832A83
triadic
#562A83 #83562A #2A8356
tetradic
#562A83 #832A2B #57832A #2A8383
square
#562A83 #832A2B #57832A #2A8383
split-complementary
#562A83 #83832A #2B832A
monochromatic
#190C26 #381B55 #562A83 #7439B1 #935DCB

Accessibility & contrast

On white

10.22
#562A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#562A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562A83
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562A83#FFFFFF#000000##FFFFFF
##562A831.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#084181
Tritanopia (blue-blind)
#4D3E52
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562a83;
/* rgb */ color: rgb(86, 42, 131);
/* oklch */ color: oklch(39.2% 0.144 303.0);
Tailwind
colors: {
  custom: {
    50: '#8967a8',
    500: '#562a83',
    950: '#000000',
  },
}
SCSS
$custom: #562a83;
$custom-light: #8967a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562a83",
  "rgb": {
    "r": 86,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 269.663,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39174,
    "c": 0.14363,
    "h": 303
  },
  "luminance": 0.05273
}

Semantic roles & 50–950 ramp

primary
#562A83
secondary
#85B158
accent
#DB4D95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562A83

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

Preview Lab → · Contrast checker → · Palette generator →

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