#562085#562085

#562085 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.159 H 304.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#562085
RGBrgb(86, 32, 133)
HSLhsl(272, 61%, 32%)
HSVhsv(272, 76%, 52%)
CMYKcmyk(35.3%, 75.9%, 0%, 47.8%)
CIE-LABlab(25.88, 43.85, -46.29)
CIE-LCHlch(25.88, 63.76, 313.45°)
OKLaboklab(38.07% 0.0889 -0.1318)
OKLCHoklch(38.07% 0.159 304)
XYZxyz(8.5869, 4.7049, 22.6415)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562085 #4F8520
analogous
#232085 #562085 #852082
triadic
#562085 #855620 #208556
tetradic
#562085 #852320 #4F8520 #208285
square
#562085 #852320 #4F8520 #208285
split-complementary
#562085 #828520 #208523
monochromatic
#160822 #361454 #562085 #762CB6 #944CD4

Accessibility & contrast

On white

10.82
#562085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#562085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562085
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562085#FFFFFF#000000##FFFFFF
##5620851.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#4D3951
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562085;
/* rgb */ color: rgb(86, 32, 133);
/* oklch */ color: oklch(38.1% 0.159 304.0);
Tailwind
colors: {
  custom: {
    50: '#8a61a9',
    500: '#562085',
    950: '#000000',
  },
}
SCSS
$custom: #562085;
$custom-light: #8a61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#562085",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 272.079,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38067,
    "c": 0.15901,
    "h": 304
  },
  "luminance": 0.04705
}

Semantic roles & 50–950 ramp

primary
#562085
secondary
#7DB74A
accent
#E4438E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #562085

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

Preview Lab → · Contrast checker → · Palette generator →

#562085 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva