#562276#562276

#562276 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.140 H 309.6°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#562276
RGBrgb(86, 34, 118)
HSLhsl(277, 55%, 30%)
HSVhsv(277, 71%, 46%)
CMYKcmyk(27.1%, 71.2%, 0%, 53.7%)
CIE-LABlab(25.05, 39.23, -38.15)
CIE-LCHlch(25.05, 54.72, 315.80°)
OKLaboklab(37.11% 0.0892 -0.1079)
OKLCHoklch(37.11% 0.14 309.6)
XYZxyz(7.6791, 4.4306, 17.5867)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562276 #427622
analogous
#2C2276 #562276 #76226C
triadic
#562276 #765622 #227656
tetradic
#562276 #762C22 #427622 #226C76
square
#562276 #762C22 #427622 #226C76
split-complementary
#562276 #6C7622 #22762C
monochromatic
#110718 #331446 #562276 #7930A6 #9948CA

Accessibility & contrast

On white

11.13
#562276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#562276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562276
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562276#FFFFFF#000000##FFFFFF
##5622761.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#133C74
Tritanopia (blue-blind)
#513449
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #562276;
/* rgb */ color: rgb(86, 34, 118);
/* oklch */ color: oklch(37.1% 0.140 309.6);
Tailwind
colors: {
  custom: {
    50: '#89629e',
    500: '#562276',
    950: '#000000',
  },
}
SCSS
$custom: #562276;
$custom-light: #89629e;
$custom-dark: #000000;
JSON
{
  "hex": "#562276",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 277.143,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37109,
    "c": 0.14002,
    "h": 309.6
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#562276
secondary
#6FA94B
accent
#DF4982
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #562276

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

Preview Lab → · Contrast checker → · Palette generator →

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