#220841#220841

#220841 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.099 H 298.4°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#220841
RGBrgb(34, 8, 65)
HSLhsl(267, 78%, 14%)
HSVhsv(267, 88%, 25%)
CMYKcmyk(47.7%, 87.7%, 0%, 74.5%)
CIE-LABlab(8.09, 26.94, -30.48)
CIE-LCHlch(8.09, 40.68, 311.47°)
OKLaboklab(21.99% 0.0472 -0.0872)
OKLCHoklch(21.99% 0.099 298.4)
XYZxyz(1.7004, 0.8954, 5.0832)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220841 #274108
analogous
#080B41 #220841 #3F0841
triadic
#220841 #412208 #084122
tetradic
#220841 #41080B #274108 #08413F
square
#220841 #41080B #274108 #08413F
split-complementary
#220841 #413F08 #0B4108
monochromatic
#0E031B #0E031B #220841 #3F0F77 #5B15AE

Accessibility & contrast

On white

17.81
#220841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#220841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220841
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220841#FFFFFF#000000##FFFFFF
##2208411.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#1A1724
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #220841;
/* rgb */ color: rgb(34, 8, 65);
/* oklch */ color: oklch(22.0% 0.099 298.4);
Tailwind
colors: {
  custom: {
    50: '#614b76',
    500: '#220841',
    950: '#000000',
  },
}
SCSS
$custom: #220841;
$custom-light: #614b76;
$custom-dark: #000000;
JSON
{
  "hex": "#220841",
  "rgb": {
    "r": 34,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 267.368,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2199,
    "c": 0.09917,
    "h": 298.4
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

primary
#220841
secondary
#567F25
accent
#F5339C
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220841

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

Preview Lab → · Contrast checker → · Palette generator →

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