#562770#562770

#562770 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.126 H 311.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#562770
RGBrgb(86, 39, 112)
HSLhsl(279, 48%, 30%)
HSVhsv(279, 65%, 44%)
CMYKcmyk(23.2%, 65.2%, 0%, 56.1%)
CIE-LABlab(25.56, 35.19, -33.48)
CIE-LCHlch(25.56, 48.58, 316.43°)
OKLaboklab(37.35% 0.0833 -0.0942)
OKLCHoklch(37.35% 0.126 311.5)
XYZxyz(7.4874, 4.5995, 15.8195)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562770 #417027
analogous
#322770 #562770 #702766
triadic
#562770 #705627 #277056
tetradic
#562770 #703227 #417027 #276670
square
#562770 #703227 #417027 #276670
split-complementary
#562770 #667027 #277032
monochromatic
#110817 #331743 #562770 #79379D #9950C2

Accessibility & contrast

On white

10.94
#562770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#562770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562770
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562770#FFFFFF#000000##FFFFFF
##5627701.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083A72
Deuteranopia (green-blind)
#203D6E
Tritanopia (blue-blind)
#533547
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #562770;
/* rgb */ color: rgb(86, 39, 112);
/* oklch */ color: oklch(37.3% 0.126 311.5);
Tailwind
colors: {
  custom: {
    50: '#886499',
    500: '#562770',
    950: '#000000',
  },
}
SCSS
$custom: #562770;
$custom-light: #886499;
$custom-dark: #000000;
JSON
{
  "hex": "#562770",
  "rgb": {
    "r": 86,
    "g": 39,
    "b": 112
  },
  "hsl": {
    "h": 278.63,
    "s": 48.344,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37346,
    "c": 0.1258,
    "h": 311.5
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#562770
secondary
#6EA250
accent
#D85080
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C060E
muted
#7D7A7E

Preview Lab

Preview with #562770

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

Preview Lab → · Contrast checker → · Palette generator →

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