#211641#211641

#211641 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.1% C 0.078 H 291.2°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#211641
RGBrgb(33, 22, 65)
HSLhsl(255, 49%, 17%)
HSVhsv(255, 66%, 25%)
CMYKcmyk(49.2%, 66.2%, 0%, 74.5%)
CIE-LABlab(11.13, 18.01, -25.55)
CIE-LCHlch(11.13, 31.26, 305.18°)
OKLaboklab(24.14% 0.0283 -0.0728)
OKLCHoklch(24.14% 0.078 291.2)
XYZxyz(1.8680, 1.2787, 5.1484)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211641 #364116
analogous
#162141 #211641 #371641
triadic
#211641 #412116 #164121
tetradic
#211641 #411621 #364116 #164137
square
#211641 #411621 #364116 #164137
split-complementary
#211641 #413716 #214116
monochromatic
#0C0817 #0C0817 #211641 #38256F #4F359C

Accessibility & contrast

On white

16.72
#211641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#211641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211641
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211641#FFFFFF#000000##FFFFFF
##2116411.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#011D40
Tritanopia (blue-blind)
#182028
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #211641;
/* rgb */ color: rgb(33, 22, 65);
/* oklch */ color: oklch(24.1% 0.078 291.2);
Tailwind
colors: {
  custom: {
    50: '#5f5376',
    500: '#211641',
    950: '#000000',
  },
}
SCSS
$custom: #211641;
$custom-light: #5f5376;
$custom-dark: #000000;
JSON
{
  "hex": "#211641",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 65
  },
  "hsl": {
    "h": 255.349,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2414,
    "c": 0.07812,
    "h": 291.2
  },
  "luminance": 0.01279
}

Semantic roles & 50–950 ramp

primary
#211641
secondary
#69783A
accent
#D94FB6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #211641

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

Preview Lab → · Contrast checker → · Palette generator →

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