#221556#221556

#221556 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.111 H 284.9°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#221556
RGBrgb(34, 21, 86)
HSLhsl(252, 61%, 21%)
HSVhsv(252, 76%, 34%)
CMYKcmyk(60.5%, 75.6%, 0%, 66.3%)
CIE-LABlab(12.91, 26.18, -37.16)
CIE-LCHlch(12.91, 45.45, 305.16°)
OKLaboklab(26.06% 0.0285 -0.1069)
OKLCHoklch(26.06% 0.111 284.9)
XYZxyz(2.6071, 1.5481, 8.9637)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221556 #495615
analogous
#152856 #221556 #421556
triadic
#221556 #562215 #155622
tetradic
#221556 #561528 #495615 #155642
square
#221556 #561528 #495615 #155642
split-complementary
#221556 #564215 #285615
monochromatic
#0A0619 #0F0925 #221556 #352187 #492DB8

Accessibility & contrast

On white

16.04
#221556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#221556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221556
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221556#FFFFFF#000000##FFFFFF
##2215561.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#092633
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #221556;
/* rgb */ color: rgb(34, 21, 86);
/* oklch */ color: oklch(26.1% 0.111 284.9);
Tailwind
colors: {
  custom: {
    50: '#645386',
    500: '#221556',
    950: '#000000',
  },
}
SCSS
$custom: #221556;
$custom-light: #645386;
$custom-dark: #000000;
JSON
{
  "hex": "#221556",
  "rgb": {
    "r": 34,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 252,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.2606,
    "c": 0.11061,
    "h": 284.9
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#221556
secondary
#7D8E39
accent
#E444C4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #221556

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

Preview Lab → · Contrast checker → · Palette generator →

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