#562193#562193

#562193 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.173 H 299.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#562193
RGBrgb(86, 33, 147)
HSLhsl(268, 63%, 35%)
HSVhsv(268, 78%, 58%)
CMYKcmyk(41.5%, 77.6%, 0%, 42.4%)
CIE-LABlab(27.22, 46.93, -52.80)
CIE-LCHlch(27.22, 70.64, 311.63°)
OKLaboklab(39.38% 0.0846 -0.1509)
OKLCHoklch(39.38% 0.173 299.3)
XYZxyz(9.6467, 5.1726, 28.0883)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562193 #5E9321
analogous
#212593 #562193 #8F2193
triadic
#562193 #935621 #219356
tetradic
#562193 #932125 #5E9321 #21938F
square
#562193 #932125 #5E9321 #21938F
split-complementary
#562193 #938F21 #259321
monochromatic
#1C0B2F #391661 #562193 #732CC5 #9355D9

Accessibility & contrast

On white

10.32
#562193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #562193
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562193#FFFFFF#000000##FFFFFF
##5621931.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562193;
/* rgb */ color: rgb(86, 33, 147);
/* oklch */ color: oklch(39.4% 0.173 299.3);
Tailwind
colors: {
  custom: {
    50: '#8c62b4',
    500: '#562193',
    950: '#000000',
  },
}
SCSS
$custom: #562193;
$custom-light: #8c62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562193",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 267.895,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.17304,
    "h": 299.3
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#562193
secondary
#8CBD53
accent
#E6419A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #562193

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

Preview Lab → · Contrast checker → · Palette generator →

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