#562B85#562B85

#562B85 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.145 H 302.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#562B85
RGBrgb(86, 43, 133)
HSLhsl(269, 51%, 35%)
HSVhsv(269, 68%, 52%)
CMYKcmyk(35.3%, 67.7%, 0%, 47.8%)
CIE-LABlab(27.84, 38.36, -43.10)
CIE-LCHlch(27.84, 57.69, 311.67°)
OKLaboklab(39.47% 0.0768 -0.1225)
OKLCHoklch(39.47% 0.145 302.1)
XYZxyz(8.9343, 5.3996, 22.7573)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562B85 #5A852B
analogous
#2B2D85 #562B85 #832B85
triadic
#562B85 #85562B #2B8556
tetradic
#562B85 #852B2D #5A852B #2B8583
square
#562B85 #852B2D #5A852B #2B8583
split-complementary
#562B85 #85832B #2D852B
monochromatic
#1A0D29 #381C57 #562B85 #743AB3 #935FCB

Accessibility & contrast

On white

10.10
#562B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#562B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562B85
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562B85#FFFFFF#000000##FFFFFF
##562B851.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#054183
Tritanopia (blue-blind)
#4C3F54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562b85;
/* rgb */ color: rgb(86, 43, 133);
/* oklch */ color: oklch(39.5% 0.145 302.1);
Tailwind
colors: {
  custom: {
    50: '#8a67a9',
    500: '#562b85',
    950: '#000000',
  },
}
SCSS
$custom: #562b85;
$custom-light: #8a67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#562b85",
  "rgb": {
    "r": 86,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 268.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3947,
    "c": 0.14459,
    "h": 302.1
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#562B85
secondary
#88B15B
accent
#DB4D97
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562B85

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

Preview Lab → · Contrast checker → · Palette generator →

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