#562090#562090

#562090 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.171 H 300.3°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#562090
RGBrgb(86, 32, 144)
HSLhsl(269, 64%, 35%)
HSVhsv(269, 78%, 56%)
CMYKcmyk(40.3%, 77.8%, 0%, 43.5%)
CIE-LABlab(26.81, 46.61, -51.62)
CIE-LCHlch(26.81, 69.55, 312.08°)
OKLaboklab(39.01% 0.0863 -0.1475)
OKLCHoklch(39.01% 0.171 300.3)
XYZxyz(9.3871, 5.0250, 26.8555)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562090 #5A9020
analogous
#202290 #562090 #8E2090
triadic
#562090 #905620 #209056
tetradic
#562090 #902022 #5A9020 #20908E
square
#562090 #902022 #5A9020 #20908E
split-complementary
#562090 #908E20 #229020
monochromatic
#1A0A2C #38155E #562090 #742BC2 #9352D9

Accessibility & contrast

On white

10.47
#562090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#562090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562090
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562090#FFFFFF#000000##FFFFFF
##5620901.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#493D57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #562090;
/* rgb */ color: rgb(86, 32, 144);
/* oklch */ color: oklch(39.0% 0.171 300.3);
Tailwind
colors: {
  custom: {
    50: '#8b62b1',
    500: '#562090',
    950: '#000000',
  },
}
SCSS
$custom: #562090;
$custom-light: #8b62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#562090",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 268.929,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3901,
    "c": 0.17087,
    "h": 300.3
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#562090
secondary
#88BC50
accent
#E74197
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #562090

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

Preview Lab → · Contrast checker → · Palette generator →

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