#562693#562693

#562693 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.167 H 298.5°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#562693
RGBrgb(86, 38, 147)
HSLhsl(266, 59%, 36%)
HSVhsv(266, 74%, 58%)
CMYKcmyk(41.5%, 74.1%, 0%, 42.4%)
CIE-LABlab(28.04, 44.61, -51.47)
CIE-LCHlch(28.04, 68.11, 310.92°)
OKLaboklab(39.96% 0.0799 -0.1471)
OKLCHoklch(39.96% 0.167 298.5)
XYZxyz(9.7960, 5.4711, 28.1380)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562693 #639326
analogous
#262D93 #562693 #8D2693
triadic
#562693 #935626 #269356
tetradic
#562693 #93262D #639326 #26938D
square
#562693 #93262D #639326 #26938D
split-complementary
#562693 #938D26 #2D9326
monochromatic
#1D0D32 #3A1962 #562693 #7233C4 #935ED5

Accessibility & contrast

On white

10.03
#562693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#562693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562693
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562693#FFFFFF#000000##FFFFFF
##5626931.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#47425A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562693;
/* rgb */ color: rgb(86, 38, 147);
/* oklch */ color: oklch(40.0% 0.167 298.5);
Tailwind
colors: {
  custom: {
    50: '#8b65b4',
    500: '#562693',
    950: '#000000',
  },
}
SCSS
$custom: #562693;
$custom-light: #8b65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562693",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 147
  },
  "hsl": {
    "h": 266.422,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39957,
    "c": 0.1674,
    "h": 298.5
  },
  "luminance": 0.05471
}

Semantic roles & 50–950 ramp

primary
#562693
secondary
#90BA5A
accent
#E2469D
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562693

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

Preview Lab → · Contrast checker → · Palette generator →

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