#562290#562290

#562290 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.169 H 300.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#562290
RGBrgb(86, 34, 144)
HSLhsl(268, 62%, 35%)
HSVhsv(268, 76%, 56%)
CMYKcmyk(40.3%, 76.4%, 0%, 43.5%)
CIE-LABlab(27.12, 45.72, -51.11)
CIE-LCHlch(27.12, 68.57, 311.81°)
OKLaboklab(39.23% 0.0845 -0.146)
OKLCHoklch(39.23% 0.169 300.1)
XYZxyz(9.4426, 5.1360, 26.8740)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562290 #5C9022
analogous
#222590 #562290 #8D2290
triadic
#562290 #905622 #229056
tetradic
#562290 #902225 #5C9022 #22908D
square
#562290 #902225 #5C9022 #22908D
split-complementary
#562290 #908D22 #259022
monochromatic
#1B0B2D #38165E #562290 #742EC2 #9355D7

Accessibility & contrast

On white

10.36
#562290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562290
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562290#FFFFFF#000000##FFFFFF
##5622901.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#493E57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562290;
/* rgb */ color: rgb(86, 34, 144);
/* oklch */ color: oklch(39.2% 0.169 300.1);
Tailwind
colors: {
  custom: {
    50: '#8b63b1',
    500: '#562290',
    950: '#000000',
  },
}
SCSS
$custom: #562290;
$custom-light: #8b63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#562290",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 268.364,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3923,
    "c": 0.16867,
    "h": 300.1
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#562290
secondary
#8ABB53
accent
#E54398
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #562290

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

Preview Lab → · Contrast checker → · Palette generator →

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