#221636#221636

#221636 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.4% C 0.061 H 299.0°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#221636
RGBrgb(34, 22, 54)
HSLhsl(263, 42%, 15%)
HSVhsv(263, 59%, 21%)
CMYKcmyk(37%, 59.3%, 0%, 78.8%)
CIE-LABlab(10.41, 14.63, -18.85)
CIE-LCHlch(10.41, 23.86, 307.83°)
OKLaboklab(23.37% 0.0294 -0.0531)
OKLCHoklch(23.37% 0.061 299)
XYZxyz(1.6123, 1.1802, 3.6322)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221636 #2A3616
analogous
#161A36 #221636 #321636
triadic
#221636 #362216 #163622
tetradic
#221636 #36161A #2A3616 #163632
square
#221636 #36161A #2A3616 #163632
split-complementary
#221636 #363216 #1A3616
monochromatic
#0E0916 #0E0916 #221636 #3D2861 #59398D

Accessibility & contrast

On white

16.99
#221636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#221636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221636
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221636#FFFFFF#000000##FFFFFF
##2216361.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1C37
Deuteranopia (green-blind)
#0E1C35
Tritanopia (blue-blind)
#1E1C23
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #221636;
/* rgb */ color: rgb(34, 22, 54);
/* oklch */ color: oklch(23.4% 0.061 299.0);
Tailwind
colors: {
  custom: {
    50: '#5e536d',
    500: '#221636',
    950: '#000000',
  },
}
SCSS
$custom: #221636;
$custom-light: #5e536d;
$custom-dark: #000000;
JSON
{
  "hex": "#221636",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 54
  },
  "hsl": {
    "h": 262.5,
    "s": 42.105,
    "l": 14.902
  },
  "oklch": {
    "l": 0.23371,
    "c": 0.06069,
    "h": 299
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#221636
secondary
#5A6D3B
accent
#D256A3
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040207
muted
#79787A

Preview Lab

Preview with #221636

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

Preview Lab → · Contrast checker → · Palette generator →

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