#562FAE#562FAE

#562FAE is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.188 H 290.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#562FAE
RGBrgb(86, 47, 174)
HSLhsl(258, 57%, 43%)
HSVhsv(258, 73%, 68%)
CMYKcmyk(50.6%, 73%, 0%, 31.8%)
CIE-LABlab(31.96, 47.50, -61.43)
CIE-LCHlch(31.96, 77.65, 307.71°)
OKLaboklab(43.45% 0.0655 -0.1764)
OKLCHoklch(43.45% 0.188 290.4)
XYZxyz(12.4921, 7.0669, 40.7420)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562FAE #87AE2F
analogous
#2F47AE #562FAE #952FAE
triadic
#562FAE #AE562F #2FAE56
tetradic
#562FAE #AE2F47 #87AE2F #2FAE95
square
#562FAE #AE2F47 #87AE2F #2FAE95
split-complementary
#562FAE #AE952F #47AE2F
monochromatic
#26154E #3E227E #562FAE #744CCF #997CDC

Accessibility & contrast

On white

8.70
#562FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#562FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562FAE
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562FAE#FFFFFF#000000##FFFFFF
##562FAE1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#38516C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #562fae;
/* rgb */ color: rgb(86, 47, 174);
/* oklch */ color: oklch(43.5% 0.188 290.4);
Tailwind
colors: {
  custom: {
    50: '#8e6bc7',
    500: '#562fae',
    950: '#000000',
  },
}
SCSS
$custom: #562fae;
$custom-light: #8e6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#562fae",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 258.425,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43452,
    "c": 0.18816,
    "h": 290.4
  },
  "luminance": 0.07067
}

Semantic roles & 50–950 ramp

primary
#562FAE
secondary
#ACC475
accent
#E147B2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #562FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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