#221244#221244

#221244 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.089 H 293.1°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#221244
RGBrgb(34, 18, 68)
HSLhsl(259, 58%, 17%)
HSVhsv(259, 74%, 27%)
CMYKcmyk(50%, 73.5%, 0%, 73.3%)
CIE-LABlab(10.48, 22.00, -28.70)
CIE-LCHlch(10.48, 36.16, 307.47°)
OKLaboklab(23.78% 0.035 -0.082)
OKLCHoklch(23.78% 0.089 293.1)
XYZxyz(1.9191, 1.1900, 5.5963)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221244 #344412
analogous
#121B44 #221244 #3B1244
triadic
#221244 #442212 #124422
tetradic
#221244 #44121B #344412 #12443B
square
#221244 #44121B #344412 #12443B
split-complementary
#221244 #443B12 #1B4412
monochromatic
#0C0618 #0C0618 #221244 #3A1F74 #522CA5

Accessibility & contrast

On white

16.96
#221244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #221244
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221244#FFFFFF#000000##FFFFFF
##2212441.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#181E29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #221244;
/* rgb */ color: rgb(34, 18, 68);
/* oklch */ color: oklch(23.8% 0.089 293.1);
Tailwind
colors: {
  custom: {
    50: '#615178',
    500: '#221244',
    950: '#000000',
  },
}
SCSS
$custom: #221244;
$custom-light: #615178;
$custom-dark: #000000;
JSON
{
  "hex": "#221244",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 259.2,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23783,
    "c": 0.08921,
    "h": 293.1
  },
  "luminance": 0.0119
}

Semantic roles & 50–950 ramp

primary
#221244
secondary
#667D35
accent
#E146B0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #221244

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

Preview Lab → · Contrast checker → · Palette generator →

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