#562094#562094

#562094 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.175 H 299.1°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#562094
RGBrgb(86, 32, 148)
HSLhsl(268, 64%, 35%)
HSVhsv(268, 78%, 58%)
CMYKcmyk(41.9%, 78.4%, 0%, 42%)
CIE-LABlab(27.16, 47.63, -53.52)
CIE-LCHlch(27.16, 71.64, 311.66°)
OKLaboklab(39.36% 0.0852 -0.153)
OKLCHoklch(39.36% 0.175 299.1)
XYZxyz(9.6982, 5.1494, 28.4942)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562094 #5E9420
analogous
#202494 #562094 #902094
triadic
#562094 #945620 #209456
tetradic
#562094 #942024 #5E9420 #209490
square
#562094 #942024 #5E9420 #209490
split-complementary
#562094 #949020 #249420
monochromatic
#1C0A2F #391562 #562094 #732BC6 #9354DA

Accessibility & contrast

On white

10.34
#562094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562094
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562094#FFFFFF#000000##FFFFFF
##5620941.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#473F59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562094;
/* rgb */ color: rgb(86, 32, 148);
/* oklch */ color: oklch(39.4% 0.175 299.1);
Tailwind
colors: {
  custom: {
    50: '#8c62b4',
    500: '#562094',
    950: '#000000',
  },
}
SCSS
$custom: #562094;
$custom-light: #8c62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562094",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 267.931,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39364,
    "c": 0.17518,
    "h": 299.1
  },
  "luminance": 0.0515
}

Semantic roles & 50–950 ramp

primary
#562094
secondary
#8CBE52
accent
#E7409A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #562094

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

Preview Lab → · Contrast checker → · Palette generator →

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