#562183#562183

#562183 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.156 H 304.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#562183
RGBrgb(86, 33, 131)
HSLhsl(272, 60%, 32%)
HSVhsv(272, 75%, 51%)
CMYKcmyk(34.4%, 74.8%, 0%, 48.6%)
CIE-LABlab(25.88, 42.89, -45.03)
CIE-LCHlch(25.88, 62.19, 313.61°)
OKLaboklab(38.02% 0.0883 -0.1281)
OKLCHoklch(38.02% 0.156 304.6)
XYZxyz(8.4774, 4.7049, 21.9299)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562183 #4E8321
analogous
#252183 #562183 #83217F
triadic
#562183 #835621 #218356
tetradic
#562183 #832521 #4E8321 #217F83
square
#562183 #832521 #4E8321 #217F83
split-complementary
#562183 #7F8321 #218325
monochromatic
#160821 #361552 #562183 #762DB4 #954CD2

Accessibility & contrast

On white

10.82
#562183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#562183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562183
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562183#FFFFFF#000000##FFFFFF
##5621831.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #562183;
/* rgb */ color: rgb(86, 33, 131);
/* oklch */ color: oklch(38.0% 0.156 304.6);
Tailwind
colors: {
  custom: {
    50: '#8a62a8',
    500: '#562183',
    950: '#000000',
  },
}
SCSS
$custom: #562183;
$custom-light: #8a62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#562183",
  "rgb": {
    "r": 86,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 272.449,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38016,
    "c": 0.15563,
    "h": 304.6
  },
  "luminance": 0.04705
}

Semantic roles & 50–950 ramp

primary
#562183
secondary
#7CB54B
accent
#E3458D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #562183

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

Preview Lab → · Contrast checker → · Palette generator →

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