#562283#562283

#562283 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.154 H 304.4°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#562283
RGBrgb(86, 34, 131)
HSLhsl(272, 59%, 32%)
HSVhsv(272, 74%, 51%)
CMYKcmyk(34.4%, 74%, 0%, 48.6%)
CIE-LABlab(26.04, 42.42, -44.76)
CIE-LCHlch(26.04, 61.67, 313.46°)
OKLaboklab(38.13% 0.0873 -0.1273)
OKLCHoklch(38.13% 0.154 304.4)
XYZxyz(8.5056, 4.7612, 21.9392)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562283 #4F8322
analogous
#262283 #562283 #832280
triadic
#562283 #835622 #228356
tetradic
#562283 #832622 #4F8322 #228083
square
#562283 #832622 #4F8322 #228083
split-complementary
#562283 #808322 #228326
monochromatic
#160922 #361552 #562283 #762FB4 #944ED1

Accessibility & contrast

On white

10.76
#562283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#562283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562283
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562283#FFFFFF#000000##FFFFFF
##5622831.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#4D3950
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #562283;
/* rgb */ color: rgb(86, 34, 131);
/* oklch */ color: oklch(38.1% 0.154 304.4);
Tailwind
colors: {
  custom: {
    50: '#8a62a8',
    500: '#562283',
    950: '#000000',
  },
}
SCSS
$custom: #562283;
$custom-light: #8a62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562283",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 272.165,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38134,
    "c": 0.15439,
    "h": 304.4
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#562283
secondary
#7DB44C
accent
#E2468E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #562283

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

Preview Lab → · Contrast checker → · Palette generator →

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