#562E88#562E88

#562E88 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.144 H 300.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#562E88
RGBrgb(86, 46, 136)
HSLhsl(267, 49%, 36%)
HSVhsv(267, 66%, 53%)
CMYKcmyk(36.8%, 66.2%, 0%, 46.7%)
CIE-LABlab(28.67, 37.51, -43.63)
CIE-LCHlch(28.67, 57.54, 310.69°)
OKLaboklab(40.14% 0.0729 -0.1241)
OKLCHoklch(40.14% 0.144 300.4)
XYZxyz(9.2576, 5.7099, 23.9022)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E88 #60882E
analogous
#2E3388 #562E88 #832E88
triadic
#562E88 #88562E #2E8856
tetradic
#562E88 #882E33 #60882E #2E8883
square
#562E88 #882E33 #60882E #2E8883
split-complementary
#562E88 #88832E #33882E
monochromatic
#1C0F2D #391F5A #562E88 #733DB6 #9365CB

Accessibility & contrast

On white

9.80
#562E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#562E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E88
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E88#FFFFFF#000000##FFFFFF
##562E881.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#054386
Tritanopia (blue-blind)
#4B4256
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562e88;
/* rgb */ color: rgb(86, 46, 136);
/* oklch */ color: oklch(40.1% 0.144 300.4);
Tailwind
colors: {
  custom: {
    50: '#8a69ab',
    500: '#562e88',
    950: '#000000',
  },
}
SCSS
$custom: #562e88;
$custom-light: #8a69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#562e88",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 266.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40135,
    "c": 0.14392,
    "h": 300.4
  },
  "luminance": 0.0571
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #562E88

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

Preview Lab → · Contrast checker → · Palette generator →

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