#221656#221656

#221656 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.109 H 284.6°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#221656
RGBrgb(34, 22, 86)
HSLhsl(251, 59%, 21%)
HSVhsv(251, 74%, 34%)
CMYKcmyk(60.5%, 74.4%, 0%, 66.3%)
CIE-LABlab(13.14, 25.54, -36.78)
CIE-LCHlch(13.14, 44.78, 304.77°)
OKLaboklab(26.23% 0.0275 -0.1058)
OKLCHoklch(26.23% 0.109 284.6)
XYZxyz(2.6258, 1.5856, 8.9700)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221656 #4A5616
analogous
#162A56 #221656 #421656
triadic
#221656 #562216 #165622
tetradic
#221656 #56162A #4A5616 #165642
square
#221656 #56162A #4A5616 #165642
split-complementary
#221656 #564216 #2A5616
monochromatic
#0A0618 #0F0A25 #221656 #352287 #492FB7

Accessibility & contrast

On white

15.94
#221656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#221656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221656
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221656#FFFFFF#000000##FFFFFF
##2216561.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#092734
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #221656;
/* rgb */ color: rgb(34, 22, 86);
/* oklch */ color: oklch(26.2% 0.109 284.6);
Tailwind
colors: {
  custom: {
    50: '#645486',
    500: '#221656',
    950: '#000000',
  },
}
SCSS
$custom: #221656;
$custom-light: #645486;
$custom-dark: #000000;
JSON
{
  "hex": "#221656",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 251.25,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26226,
    "c": 0.1093,
    "h": 284.6
  },
  "luminance": 0.01586
}

Semantic roles & 50–950 ramp

primary
#221656
secondary
#7E8D3A
accent
#E245C5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #221656

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

Preview Lab → · Contrast checker → · Palette generator →

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