#562294#562294

#562294 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.173 H 298.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#562294
RGBrgb(86, 34, 148)
HSLhsl(267, 63%, 36%)
HSVhsv(267, 77%, 58%)
CMYKcmyk(41.9%, 77%, 0%, 42%)
CIE-LABlab(27.46, 46.74, -53.02)
CIE-LCHlch(27.46, 70.68, 311.40°)
OKLaboklab(39.58% 0.0835 -0.1516)
OKLCHoklch(39.58% 0.173 298.8)
XYZxyz(9.7537, 5.2605, 28.5127)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562294 #609422
analogous
#222794 #562294 #8F2294
triadic
#562294 #945622 #229456
tetradic
#562294 #942227 #609422 #22948F
square
#562294 #942227 #609422 #22948F
split-complementary
#562294 #948F22 #279422
monochromatic
#1C0B30 #391762 #562294 #732DC6 #9358D9

Accessibility & contrast

On white

10.23
#562294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#562294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562294
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562294#FFFFFF#000000##FFFFFF
##5622941.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#47405A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562294;
/* rgb */ color: rgb(86, 34, 148);
/* oklch */ color: oklch(39.6% 0.173 298.8);
Tailwind
colors: {
  custom: {
    50: '#8c63b4',
    500: '#562294',
    950: '#000000',
  },
}
SCSS
$custom: #562294;
$custom-light: #8c63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562294",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 267.368,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3958,
    "c": 0.17305,
    "h": 298.8
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#562294
secondary
#8DBD55
accent
#E6429B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562294

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

Preview Lab → · Contrast checker → · Palette generator →

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