#562695#562695

#562695 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.170 H 297.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#562695
RGBrgb(86, 38, 149)
HSLhsl(266, 59%, 37%)
HSVhsv(266, 74%, 58%)
CMYKcmyk(42.3%, 74.5%, 0%, 41.6%)
CIE-LABlab(28.21, 45.14, -52.42)
CIE-LCHlch(28.21, 69.18, 310.73°)
OKLaboklab(40.13% 0.0795 -0.1499)
OKLCHoklch(40.13% 0.17 297.9)
XYZxyz(9.9543, 5.5344, 28.9717)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562695 #659526
analogous
#262E95 #562695 #8E2695
triadic
#562695 #955626 #269556
tetradic
#562695 #95262E #659526 #26958E
square
#562695 #95262E #659526 #26958E
split-complementary
#562695 #958E26 #2E9526
monochromatic
#1E0D33 #3A1A64 #562695 #7232C6 #935FD6

Accessibility & contrast

On white

9.97
#562695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#562695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562695
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562695#FFFFFF#000000##FFFFFF
##5626951.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#46425B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #562695;
/* rgb */ color: rgb(86, 38, 149);
/* oklch */ color: oklch(40.1% 0.170 297.9);
Tailwind
colors: {
  custom: {
    50: '#8c65b5',
    500: '#562695',
    950: '#000000',
  },
}
SCSS
$custom: #562695;
$custom-light: #8c65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#562695",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 265.946,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.16965,
    "h": 297.9
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#562695
secondary
#92BB5B
accent
#E3459F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562695

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

Preview Lab → · Contrast checker → · Palette generator →

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