#562295#562295

#562295 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.174 H 298.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#562295
RGBrgb(86, 34, 149)
HSLhsl(267, 63%, 36%)
HSVhsv(267, 77%, 58%)
CMYKcmyk(42.3%, 77.2%, 0%, 41.6%)
CIE-LABlab(27.55, 47.00, -53.49)
CIE-LCHlch(27.55, 71.20, 311.31°)
OKLaboklab(39.67% 0.0832 -0.153)
OKLCHoklch(39.67% 0.174 298.5)
XYZxyz(9.8332, 5.2923, 28.9314)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562295 #619522
analogous
#222895 #562295 #8F2295
triadic
#562295 #955622 #229556
tetradic
#562295 #952228 #619522 #22958F
square
#562295 #952228 #619522 #22958F
split-complementary
#562295 #958F22 #289522
monochromatic
#1C0B31 #391763 #562295 #732DC7 #9358D9

Accessibility & contrast

On white

10.20
#562295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#562295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562295
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562295#FFFFFF#000000##FFFFFF
##5622951.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#46405A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #562295;
/* rgb */ color: rgb(86, 34, 149);
/* oklch */ color: oklch(39.7% 0.174 298.5);
Tailwind
colors: {
  custom: {
    50: '#8c63b5',
    500: '#562295',
    950: '#000000',
  },
}
SCSS
$custom: #562295;
$custom-light: #8c63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#562295",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 267.13,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.17414,
    "h": 298.5
  },
  "luminance": 0.05292
}

Semantic roles & 50–950 ramp

primary
#562295
secondary
#8EBD56
accent
#E6429C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #562295

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

Preview Lab → · Contrast checker → · Palette generator →

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