#221041#221041

#221041 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.088 H 295.6°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#221041
RGBrgb(34, 16, 65)
HSLhsl(262, 60%, 16%)
HSVhsv(262, 75%, 25%)
CMYKcmyk(47.7%, 75.4%, 0%, 74.5%)
CIE-LABlab(9.74, 22.31, -27.79)
CIE-LCHlch(9.74, 35.64, 308.75°)
OKLaboklab(23.16% 0.038 -0.0794)
OKLCHoklch(23.16% 0.088 295.6)
XYZxyz(1.7989, 1.0923, 5.1161)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221041 #2F4110
analogous
#101641 #221041 #3A1041
triadic
#221041 #412210 #104122
tetradic
#221041 #411016 #2F4110 #10413A
square
#221041 #411016 #2F4110 #10413A
split-complementary
#221041 #413A10 #164110
monochromatic
#0D0619 #0D0619 #221041 #3C1C72 #5528A3

Accessibility & contrast

On white

17.24
#221041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#221041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221041
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221041#FFFFFF#000000##FFFFFF
##2210411.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#001A40
Tritanopia (blue-blind)
#1A1C26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #221041;
/* rgb */ color: rgb(34, 16, 65);
/* oklch */ color: oklch(23.2% 0.088 295.6);
Tailwind
colors: {
  custom: {
    50: '#604f76',
    500: '#221041',
    950: '#000000',
  },
}
SCSS
$custom: #221041;
$custom-light: #604f76;
$custom-dark: #000000;
JSON
{
  "hex": "#221041",
  "rgb": {
    "r": 34,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 262.041,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2316,
    "c": 0.08801,
    "h": 295.6
  },
  "luminance": 0.01092
}

Semantic roles & 50–950 ramp

primary
#221041
secondary
#607B32
accent
#E444A9
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #221041

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

Preview Lab → · Contrast checker → · Palette generator →

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