#562293#562293

#562293 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.172 H 299.1°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#562293
RGBrgb(86, 34, 147)
HSLhsl(268, 62%, 35%)
HSVhsv(268, 77%, 58%)
CMYKcmyk(41.5%, 76.9%, 0%, 42.4%)
CIE-LABlab(27.38, 46.49, -52.54)
CIE-LCHlch(27.38, 70.15, 311.50°)
OKLaboklab(39.49% 0.0837 -0.1502)
OKLCHoklch(39.49% 0.172 299.1)
XYZxyz(9.6749, 5.2289, 28.0977)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562293 #5F9322
analogous
#222693 #562293 #8E2293
triadic
#562293 #935622 #229356
tetradic
#562293 #932226 #5F9322 #22938E
square
#562293 #932226 #5F9322 #22938E
split-complementary
#562293 #938E22 #269322
monochromatic
#1C0B30 #391761 #562293 #732DC5 #9357D8

Accessibility & contrast

On white

10.26
#562293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562293
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562293#FFFFFF#000000##FFFFFF
##5622931.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#474059
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562293;
/* rgb */ color: rgb(86, 34, 147);
/* oklch */ color: oklch(39.5% 0.172 299.1);
Tailwind
colors: {
  custom: {
    50: '#8c63b4',
    500: '#562293',
    950: '#000000',
  },
}
SCSS
$custom: #562293;
$custom-light: #8c63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562293",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 267.611,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39492,
    "c": 0.17196,
    "h": 299.1
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#562293
secondary
#8DBC55
accent
#E5429A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #562293

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

Preview Lab → · Contrast checker → · Palette generator →

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