#220844#220844

#220844 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.103 H 296.7°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#220844
RGBrgb(34, 8, 68)
HSLhsl(266, 79%, 15%)
HSVhsv(266, 88%, 27%)
CMYKcmyk(50%, 88.2%, 0%, 73.3%)
CIE-LABlab(8.40, 27.83, -32.09)
CIE-LCHlch(8.40, 42.48, 310.93°)
OKLaboklab(22.31% 0.0461 -0.0919)
OKLCHoklch(22.31% 0.103 296.7)
XYZxyz(1.7896, 0.9311, 5.5531)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220844 #2A4408
analogous
#080C44 #220844 #400844
triadic
#220844 #442208 #084422
tetradic
#220844 #44080C #2A4408 #084440
square
#220844 #44080C #2A4408 #084440
split-complementary
#220844 #444008 #0C4408
monochromatic
#0E031B #0E031B #220844 #3D0E7B #5915B2

Accessibility & contrast

On white

17.70
#220844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#220844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220844
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220844#FFFFFF#000000##FFFFFF
##2208441.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001946
Deuteranopia (green-blind)
#001843
Tritanopia (blue-blind)
#191926
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220844;
/* rgb */ color: rgb(34, 8, 68);
/* oklch */ color: oklch(22.3% 0.103 296.7);
Tailwind
colors: {
  custom: {
    50: '#624b79',
    500: '#220844',
    950: '#000000',
  },
}
SCSS
$custom: #220844;
$custom-light: #624b79;
$custom-dark: #000000;
JSON
{
  "hex": "#220844",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 266,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22307,
    "c": 0.10288,
    "h": 296.7
  },
  "luminance": 0.00931
}

Semantic roles & 50–950 ramp

primary
#220844
secondary
#5A8226
accent
#F532A1
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #220844

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

Preview Lab → · Contrast checker → · Palette generator →

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