#562494#562494

#562494 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.171 H 298.5°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#562494
RGBrgb(86, 36, 148)
HSLhsl(267, 61%, 36%)
HSVhsv(267, 76%, 58%)
CMYKcmyk(41.9%, 75.7%, 0%, 42%)
CIE-LABlab(27.79, 45.83, -52.49)
CIE-LCHlch(27.79, 69.68, 311.12°)
OKLaboklab(39.81% 0.0816 -0.1501)
OKLCHoklch(39.81% 0.171 298.5)
XYZxyz(9.8126, 5.3782, 28.5323)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562494 #629424
analogous
#242A94 #562494 #8E2494
triadic
#562494 #945624 #249456
tetradic
#562494 #94242A #629424 #24948E
square
#562494 #94242A #629424 #24948E
split-complementary
#562494 #948E24 #2A9424
monochromatic
#1D0C32 #391863 #562494 #7330C5 #935BD7

Accessibility & contrast

On white

10.12
#562494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#562494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562494
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562494#FFFFFF#000000##FFFFFF
##5624941.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#47415A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562494;
/* rgb */ color: rgb(86, 36, 148);
/* oklch */ color: oklch(39.8% 0.171 298.5);
Tailwind
colors: {
  custom: {
    50: '#8c64b4',
    500: '#562494',
    950: '#000000',
  },
}
SCSS
$custom: #562494;
$custom-light: #8c64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562494",
  "rgb": {
    "r": 86,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 266.786,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39806,
    "c": 0.17083,
    "h": 298.5
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#562494
secondary
#8FBC58
accent
#E4449C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562494

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

Preview Lab → · Contrast checker → · Palette generator →

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