#562697#562697

#562697 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.172 H 297.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#562697
RGBrgb(86, 38, 151)
HSLhsl(265, 60%, 37%)
HSVhsv(265, 75%, 59%)
CMYKcmyk(43%, 74.8%, 0%, 40.8%)
CIE-LABlab(28.38, 45.67, -53.37)
CIE-LCHlch(28.38, 70.24, 310.55°)
OKLaboklab(40.3% 0.079 -0.1527)
OKLCHoklch(40.3% 0.172 297.4)
XYZxyz(10.1153, 5.5988, 29.8199)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562697 #679726
analogous
#262E97 #562697 #8F2697
triadic
#562697 #975626 #269756
tetradic
#562697 #97262E #679726 #26978F
square
#562697 #97262E #679726 #26978F
split-complementary
#562697 #978F26 #2E9726
monochromatic
#1E0D35 #3A1A66 #562697 #7232C8 #9360D7

Accessibility & contrast

On white

9.91
#562697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#562697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562697
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562697#FFFFFF#000000##FFFFFF
##5626971.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#45435C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #562697;
/* rgb */ color: rgb(86, 38, 151);
/* oklch */ color: oklch(40.3% 0.172 297.4);
Tailwind
colors: {
  custom: {
    50: '#8c65b6',
    500: '#562697',
    950: '#000000',
  },
}
SCSS
$custom: #562697;
$custom-light: #8c65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#562697",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 265.487,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40302,
    "c": 0.17191,
    "h": 297.4
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#562697
secondary
#94BC5C
accent
#E345A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562697

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

Preview Lab → · Contrast checker → · Palette generator →

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