#562994#562994

#562994 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.165 H 297.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#562994
RGBrgb(86, 41, 148)
HSLhsl(265, 57%, 37%)
HSVhsv(265, 72%, 58%)
CMYKcmyk(41.9%, 72.3%, 0%, 42%)
CIE-LABlab(28.65, 43.39, -51.08)
CIE-LCHlch(28.65, 67.03, 310.35°)
OKLaboklab(40.42% 0.0767 -0.146)
OKLCHoklch(40.42% 0.165 297.7)
XYZxyz(9.9746, 5.7023, 28.5864)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562994 #679429
analogous
#293194 #562994 #8C2994
triadic
#562994 #945629 #299456
tetradic
#562994 #942931 #679429 #29948C
square
#562994 #942931 #679429 #29948C
split-complementary
#562994 #948C29 #319429
monochromatic
#1E0E34 #3A1C64 #562994 #7236C4 #9363D4

Accessibility & contrast

On white

9.81
#562994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#562994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562994
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562994#FFFFFF#000000##FFFFFF
##5629941.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#47445B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #562994;
/* rgb */ color: rgb(86, 41, 148);
/* oklch */ color: oklch(40.4% 0.165 297.7);
Tailwind
colors: {
  custom: {
    50: '#8b67b4',
    500: '#562994',
    950: '#000000',
  },
}
SCSS
$custom: #562994;
$custom-light: #8b67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#562994",
  "rgb": {
    "r": 86,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 265.234,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.1649,
    "h": 297.7
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#562994
secondary
#94BA5F
accent
#E048A0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #562994

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

Preview Lab → · Contrast checker → · Palette generator →

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