#562292#562292

#562292 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.171 H 299.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#562292
RGBrgb(86, 34, 146)
HSLhsl(268, 62%, 35%)
HSVhsv(268, 77%, 57%)
CMYKcmyk(41.1%, 76.7%, 0%, 42.7%)
CIE-LABlab(27.29, 46.23, -52.07)
CIE-LCHlch(27.29, 69.63, 311.60°)
OKLaboklab(39.4% 0.084 -0.1488)
OKLCHoklch(39.4% 0.171 299.4)
XYZxyz(9.5968, 5.1977, 27.6862)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562292 #5E9222
analogous
#222692 #562292 #8E2292
triadic
#562292 #925622 #229256
tetradic
#562292 #922226 #5E9222 #22928E
square
#562292 #922226 #5E9222 #22928E
split-complementary
#562292 #928E22 #269222
monochromatic
#1C0B2F #391660 #562292 #732EC4 #9357D8

Accessibility & contrast

On white

10.30
#562292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#562292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562292
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562292#FFFFFF#000000##FFFFFF
##5622921.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#483F59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562292;
/* rgb */ color: rgb(86, 34, 146);
/* oklch */ color: oklch(39.4% 0.171 299.4);
Tailwind
colors: {
  custom: {
    50: '#8c63b3',
    500: '#562292',
    950: '#000000',
  },
}
SCSS
$custom: #562292;
$custom-light: #8c63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#562292",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 267.857,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39404,
    "c": 0.17086,
    "h": 299.4
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#562292
secondary
#8CBC54
accent
#E5439A
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0511
muted
#7D7A80

Preview Lab

Preview with #562292

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

Preview Lab → · Contrast checker → · Palette generator →

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