#562E94#562E94

#562E94 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.159 H 296.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#562E94
RGBrgb(86, 46, 148)
HSLhsl(264, 53%, 38%)
HSVhsv(264, 69%, 58%)
CMYKcmyk(41.9%, 68.9%, 0%, 42%)
CIE-LABlab(29.59, 40.78, -49.55)
CIE-LCHlch(29.59, 64.18, 309.45°)
OKLaboklab(41.09% 0.0715 -0.1415)
OKLCHoklch(41.09% 0.159 296.8)
XYZxyz(10.1587, 6.0703, 28.6477)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562E94 #6C942E
analogous
#2E3994 #562E94 #892E94
triadic
#562E94 #94562E #2E9456
tetradic
#562E94 #942E39 #6C942E #2E9489
square
#562E94 #942E39 #6C942E #2E9489
split-complementary
#562E94 #94892E #39942E
monochromatic
#201137 #3B1F65 #562E94 #713DC3 #936BD1

Accessibility & contrast

On white

9.48
#562E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#562E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562E94
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562E94#FFFFFF#000000##FFFFFF
##562E941.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#46465D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #562e94;
/* rgb */ color: rgb(86, 46, 148);
/* oklch */ color: oklch(41.1% 0.159 296.8);
Tailwind
colors: {
  custom: {
    50: '#8b6ab4',
    500: '#562e94',
    950: '#000000',
  },
}
SCSS
$custom: #562e94;
$custom-light: #8b6ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#562e94",
  "rgb": {
    "r": 86,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 263.529,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.1585,
    "h": 296.8
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#562E94
secondary
#98B866
accent
#DC4CA3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #562E94

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

Preview Lab → · Contrast checker → · Palette generator →

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