#562E90#562E90

#562E90 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.8% C 0.154 H 297.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#562E90
RGBrgb(86, 46, 144)
HSLhsl(264, 52%, 37%)
HSVhsv(264, 68%, 56%)
CMYKcmyk(40.3%, 68.1%, 0%, 43.5%)
CIE-LABlab(29.28, 39.68, -47.60)
CIE-LCHlch(29.28, 61.97, 309.82°)
OKLaboklab(40.76% 0.072 -0.1357)
OKLCHoklch(40.76% 0.154 297.9)
XYZxyz(9.8475, 5.9459, 27.0090)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E90 #68902E
analogous
#2E3790 #562E90 #872E90
triadic
#562E90 #90562E #2E9056
tetradic
#562E90 #902E37 #68902E #2E9087
square
#562E90 #902E37 #68902E #2E9087
split-complementary
#562E90 #90872E #37902E
monochromatic
#1F1033 #3A1F62 #562E90 #723DBE #9369CF

Accessibility & contrast

On white

9.59
#562E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#562E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E90
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E90#FFFFFF#000000##FFFFFF
##562E901.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#48455B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #562e90;
/* rgb */ color: rgb(86, 46, 144);
/* oklch */ color: oklch(40.8% 0.154 297.9);
Tailwind
colors: {
  custom: {
    50: '#8b69b1',
    500: '#562e90',
    950: '#000000',
  },
}
SCSS
$custom: #562e90;
$custom-light: #8b69b1;
$custom-dark: #000000;
JSON
{
  "hex": "#562e90",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 264.49,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40764,
    "c": 0.15367,
    "h": 297.9
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#562E90
secondary
#94B664
accent
#DB4DA1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562E90

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

Preview Lab → · Contrast checker → · Palette generator →

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