#562291#562291

#562291 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.170 H 299.7°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#562291
RGBrgb(86, 34, 145)
HSLhsl(268, 62%, 35%)
HSVhsv(268, 77%, 57%)
CMYKcmyk(40.7%, 76.6%, 0%, 43.1%)
CIE-LABlab(27.20, 45.97, -51.59)
CIE-LCHlch(27.20, 69.10, 311.70°)
OKLaboklab(39.32% 0.0842 -0.1474)
OKLCHoklch(39.32% 0.17 299.7)
XYZxyz(9.5193, 5.1667, 27.2783)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562291 #5D9122
analogous
#222691 #562291 #8D2291
triadic
#562291 #915622 #229156
tetradic
#562291 #912226 #5D9122 #22918D
square
#562291 #912226 #5D9122 #22918D
split-complementary
#562291 #918D22 #269122
monochromatic
#1B0B2E #39165F #562291 #732EC3 #9356D7

Accessibility & contrast

On white

10.33
#562291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#562291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562291
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562291#FFFFFF#000000##FFFFFF
##5622911.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#483F58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562291;
/* rgb */ color: rgb(86, 34, 145);
/* oklch */ color: oklch(39.3% 0.170 299.7);
Tailwind
colors: {
  custom: {
    50: '#8b63b2',
    500: '#562291',
    950: '#000000',
  },
}
SCSS
$custom: #562291;
$custom-light: #8b63b2;
$custom-dark: #000000;
JSON
{
  "hex": "#562291",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 268.108,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39317,
    "c": 0.16977,
    "h": 299.7
  },
  "luminance": 0.05167
}

Semantic roles & 50–950 ramp

primary
#562291
secondary
#8BBB53
accent
#E54399
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #562291

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

Preview Lab → · Contrast checker → · Palette generator →

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