#220941#220941

#220941 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.098 H 298.1°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#220941
RGBrgb(34, 9, 65)
HSLhsl(267, 76%, 15%)
HSVhsv(267, 86%, 25%)
CMYKcmyk(47.7%, 86.2%, 0%, 74.5%)
CIE-LABlab(8.28, 26.39, -30.17)
CIE-LCHlch(8.28, 40.08, 311.18°)
OKLaboklab(22.13% 0.0461 -0.0863)
OKLCHoklch(22.13% 0.098 298.1)
XYZxyz(1.7113, 0.9171, 5.0869)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220941 #284109
analogous
#090C41 #220941 #3E0941
triadic
#220941 #412209 #094122
tetradic
#220941 #41090C #284109 #09413E
square
#220941 #41090C #284109 #09413E
split-complementary
#220941 #413E09 #0C4109
monochromatic
#0E041B #0E041B #220941 #3E1077 #5A18AD

Accessibility & contrast

On white

17.75
#220941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220941
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220941#FFFFFF#000000##FFFFFF
##2209411.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #220941;
/* rgb */ color: rgb(34, 9, 65);
/* oklch */ color: oklch(22.1% 0.098 298.1);
Tailwind
colors: {
  custom: {
    50: '#614b76',
    500: '#220941',
    950: '#000000',
  },
}
SCSS
$custom: #220941;
$custom-light: #614b76;
$custom-dark: #000000;
JSON
{
  "hex": "#220941",
  "rgb": {
    "r": 34,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 266.786,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22125,
    "c": 0.09785,
    "h": 298.1
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#220941
secondary
#587F27
accent
#F2369E
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #220941

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

Preview Lab → · Contrast checker → · Palette generator →

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