#562F83#562F83

#562F83 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 39.9% C 0.136 H 301.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#562F83
RGBrgb(86, 47, 131)
HSLhsl(268, 47%, 35%)
HSVhsv(268, 64%, 51%)
CMYKcmyk(34.4%, 64.1%, 0%, 48.6%)
CIE-LABlab(28.51, 35.61, -40.77)
CIE-LCHlch(28.51, 54.13, 311.14°)
OKLaboklab(39.91% 0.0721 -0.1157)
OKLCHoklch(39.91% 0.136 301.9)
XYZxyz(8.9500, 5.6501, 22.0874)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562F83 #5C832F
analogous
#2F3283 #562F83 #802F83
triadic
#562F83 #83562F #2F8356
tetradic
#562F83 #832F32 #5C832F #2F8380
square
#562F83 #832F32 #5C832F #2F8380
split-complementary
#562F83 #83802F #32832F
monochromatic
#1B0F29 #381F56 #562F83 #743FB0 #9365C8

Accessibility & contrast

On white

9.86
#562F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#562F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562F83
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562F83#FFFFFF#000000##FFFFFF
##562F831.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#144381
Tritanopia (blue-blind)
#4D4154
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #562f83;
/* rgb */ color: rgb(86, 47, 131);
/* oklch */ color: oklch(39.9% 0.136 301.9);
Tailwind
colors: {
  custom: {
    50: '#896aa8',
    500: '#562f83',
    950: '#000000',
  },
}
SCSS
$custom: #562f83;
$custom-light: #896aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#562f83",
  "rgb": {
    "r": 86,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 267.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.13627,
    "h": 301.9
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#562F83
secondary
#8AAF5F
accent
#D75199
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #562F83

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

Preview Lab → · Contrast checker → · Palette generator →

#562F83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva