#562E89#562E89

#562E89 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.2% C 0.145 H 300.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#562E89
RGBrgb(86, 46, 137)
HSLhsl(266, 50%, 36%)
HSVhsv(266, 66%, 54%)
CMYKcmyk(37.2%, 66.4%, 0%, 46.3%)
CIE-LABlab(28.74, 37.78, -44.14)
CIE-LCHlch(28.74, 58.10, 310.57°)
OKLaboklab(40.21% 0.0728 -0.1255)
OKLCHoklch(40.21% 0.145 300.1)
XYZxyz(9.3290, 5.7385, 24.2782)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E89 #61892E
analogous
#2E3389 #562E89 #832E89
triadic
#562E89 #89562E #2E8956
tetradic
#562E89 #892E33 #61892E #2E8983
square
#562E89 #892E33 #61892E #2E8983
split-complementary
#562E89 #89832E #33892E
monochromatic
#1C0F2D #391F5B #562E89 #733DB7 #9366CC

Accessibility & contrast

On white

9.78
#562E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#562E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E89
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E89#FFFFFF#000000##FFFFFF
##562E891.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#024387
Tritanopia (blue-blind)
#4B4257
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562e89;
/* rgb */ color: rgb(86, 46, 137);
/* oklch */ color: oklch(40.2% 0.145 300.1);
Tailwind
colors: {
  custom: {
    50: '#8a69ac',
    500: '#562e89',
    950: '#000000',
  },
}
SCSS
$custom: #562e89;
$custom-light: #8a69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#562e89",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 266.374,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.14514,
    "h": 300.1
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#562E89
secondary
#8EB260
accent
#D94F9C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #562E89

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

Preview Lab → · Contrast checker → · Palette generator →

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