#562095#562095

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

Color values

HEX#562095
RGBrgb(86, 32, 149)
HSLhsl(268, 65%, 35%)
HSVhsv(268, 79%, 58%)
CMYKcmyk(42.3%, 78.5%, 0%, 41.6%)
CIE-LABlab(27.24, 47.88, -53.99)
CIE-LCHlch(27.24, 72.16, 311.57°)
OKLaboklab(39.45% 0.085 -0.1544)
OKLCHoklch(39.45% 0.176 298.8)
XYZxyz(9.7777, 5.1812, 28.9129)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562095 #5F9520
analogous
#202595 #562095 #902095
triadic
#562095 #955620 #209556
tetradic
#562095 #952025 #5F9520 #209590
square
#562095 #952025 #5F9520 #209590
split-complementary
#562095 #959020 #259520
monochromatic
#1C0A30 #391563 #562095 #732BC7 #9355DA

Accessibility & contrast

On white

10.31
#562095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#562095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562095
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562095#FFFFFF#000000##FFFFFF
##5620951.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#46405A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #562095;
/* rgb */ color: rgb(86, 32, 149);
/* oklch */ color: oklch(39.5% 0.176 298.8);
Tailwind
colors: {
  custom: {
    50: '#8c62b5',
    500: '#562095',
    950: '#000000',
  },
}
SCSS
$custom: #562095;
$custom-light: #8c62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#562095",
  "rgb": {
    "r": 86,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 267.692,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.17626,
    "h": 298.8
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#562095
secondary
#8DBE53
accent
#E8409A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #562095

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

Preview Lab → · Contrast checker → · Palette generator →

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