#221647#221647

#221647 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.8% C 0.087 H 289.8°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#221647
RGBrgb(34, 22, 71)
HSLhsl(255, 53%, 18%)
HSVhsv(255, 69%, 28%)
CMYKcmyk(52.1%, 69%, 0%, 72.2%)
CIE-LABlab(11.75, 20.33, -28.75)
CIE-LCHlch(11.75, 35.21, 305.27°)
OKLaboklab(24.78% 0.0296 -0.0822)
OKLCHoklch(24.78% 0.087 289.8)
XYZxyz(2.0836, 1.3688, 6.1144)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221647 #3B4716
analogous
#162247 #221647 #3A1647
triadic
#221647 #472216 #164722
tetradic
#221647 #471622 #3B4716 #16473A
square
#221647 #471622 #3B4716 #16473A
split-complementary
#221647 #473A16 #224716
monochromatic
#0B0717 #0C0818 #221647 #382476 #4F33A4

Accessibility & contrast

On white

16.49
#221647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#221647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221647
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221647#FFFFFF#000000##FFFFFF
##2216471.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#16212C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #221647;
/* rgb */ color: rgb(34, 22, 71);
/* oklch */ color: oklch(24.8% 0.087 289.8);
Tailwind
colors: {
  custom: {
    50: '#61537b',
    500: '#221647',
    950: '#000000',
  },
}
SCSS
$custom: #221647;
$custom-light: #61537b;
$custom-dark: #000000;
JSON
{
  "hex": "#221647",
  "rgb": {
    "r": 34,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 254.694,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24783,
    "c": 0.08734,
    "h": 289.8
  },
  "luminance": 0.01369
}

Semantic roles & 50–950 ramp

primary
#221647
secondary
#6E7E3A
accent
#DC4CB9
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #221647

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

Preview Lab → · Contrast checker → · Palette generator →

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