#562195#562195

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

Color values

HEX#562195
RGBrgb(86, 33, 149)
HSLhsl(267, 64%, 36%)
HSVhsv(267, 78%, 58%)
CMYKcmyk(42.3%, 77.9%, 0%, 41.6%)
CIE-LABlab(27.40, 47.44, -53.74)
CIE-LCHlch(27.40, 71.69, 311.44°)
OKLaboklab(39.56% 0.0841 -0.1537)
OKLCHoklch(39.56% 0.175 298.7)
XYZxyz(9.8050, 5.2359, 28.9220)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562195 #609521
analogous
#212695 #562195 #902195
triadic
#562195 #955621 #219556
tetradic
#562195 #952126 #609521 #219590
square
#562195 #952126 #609521 #219590
split-complementary
#562195 #959021 #269521
monochromatic
#1C0B31 #391663 #562195 #732CC7 #9357DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##562195#FFFFFF#000000##FFFFFF
##5621951.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)
#004198
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#46405A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562195;
/* rgb */ color: rgb(86, 33, 149);
/* oklch */ color: oklch(39.6% 0.175 298.7);
Tailwind
colors: {
  custom: {
    50: '#8c62b5',
    500: '#562195',
    950: '#000000',
  },
}
SCSS
$custom: #562195;
$custom-light: #8c62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#562195",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 267.414,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39559,
    "c": 0.17521,
    "h": 298.7
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#562195
secondary
#8DBE54
accent
#E7419B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #562195

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

Preview Lab → · Contrast checker → · Palette generator →

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