#562691#562691

#562691 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.165 H 299.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#562691
RGBrgb(86, 38, 145)
HSLhsl(267, 58%, 36%)
HSVhsv(267, 74%, 57%)
CMYKcmyk(40.7%, 73.8%, 0%, 43.1%)
CIE-LABlab(27.87, 44.09, -50.51)
CIE-LCHlch(27.87, 67.04, 311.12°)
OKLaboklab(39.79% 0.0804 -0.1442)
OKLCHoklch(39.79% 0.165 299.1)
XYZxyz(9.6404, 5.4089, 27.3187)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562691 #619126
analogous
#262B91 #562691 #8B2691
triadic
#562691 #915626 #269156
tetradic
#562691 #91262B #619126 #26918B
square
#562691 #91262B #619126 #26918B
split-complementary
#562691 #918B26 #2B9126
monochromatic
#1C0D30 #391961 #562691 #7333C1 #935DD5

Accessibility & contrast

On white

10.09
#562691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#562691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562691
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562691#FFFFFF#000000##FFFFFF
##5626911.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#484159
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #562691;
/* rgb */ color: rgb(86, 38, 145);
/* oklch */ color: oklch(39.8% 0.165 299.1);
Tailwind
colors: {
  custom: {
    50: '#8b65b2',
    500: '#562691',
    950: '#000000',
  },
}
SCSS
$custom: #562691;
$custom-light: #8b65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#562691",
  "rgb": {
    "r": 86,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 266.916,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39786,
    "c": 0.16513,
    "h": 299.1
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#562691
secondary
#8EBA59
accent
#E2469C
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562691

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

Preview Lab → · Contrast checker → · Palette generator →

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