#562265#562265

#562265 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 35.9% C 0.121 H 318.0°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#562265
RGBrgb(86, 34, 101)
HSLhsl(287, 50%, 26%)
HSVhsv(287, 66%, 40%)
CMYKcmyk(14.9%, 66.3%, 0%, 60.4%)
CIE-LABlab(23.88, 35.26, -29.06)
CIE-LCHlch(23.88, 45.69, 320.51°)
OKLaboklab(35.89% 0.0902 -0.0813)
OKLCHoklch(35.89% 0.121 318)
XYZxyz(6.7584, 4.0624, 12.7375)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#562265 #316522
analogous
#352265 #562265 #652253
triadic
#562265 #655622 #226556
tetradic
#562265 #653522 #316522 #225365
square
#562265 #653522 #316522 #225365
split-complementary
#562265 #536522 #226535
monochromatic
#130817 #2F1337 #562265 #7D3193 #A342BF

Accessibility & contrast

On white

11.59
#562265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#562265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #562265
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##562265#FFFFFF#000000##FFFFFF
##5622651.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3567
Deuteranopia (green-blind)
#253A63
Tritanopia (blue-blind)
#562E40
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #562265;
/* rgb */ color: rgb(86, 34, 101);
/* oklch */ color: oklch(35.9% 0.121 318.0);
Tailwind
colors: {
  custom: {
    50: '#886191',
    500: '#562265',
    950: '#000000',
  },
}
SCSS
$custom: #562265;
$custom-light: #886191;
$custom-dark: #000000;
JSON
{
  "hex": "#562265",
  "rgb": {
    "r": 86,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 286.567,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35892,
    "c": 0.1214,
    "h": 318
  },
  "luminance": 0.04062
}

Semantic roles & 50–950 ramp

primary
#562265
secondary
#5C994A
accent
#D94F6E
background
#F8F5F8
surface
#F0EAF0
border
#CBC6CB
text
#0C050D
muted
#7D797D

Preview Lab

Preview with #562265

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

Preview Lab → · Contrast checker → · Palette generator →

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