#211642#211642

#211642 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.2% C 0.080 H 290.7°. Best body text is #FFFFFF at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#211642
RGBrgb(33, 22, 66)
HSLhsl(255, 50%, 17%)
HSVhsv(255, 67%, 26%)
CMYKcmyk(50%, 66.7%, 0%, 74.1%)
CIE-LABlab(11.21, 18.36, -26.12)
CIE-LCHlch(11.21, 31.93, 305.09°)
OKLaboklab(24.23% 0.0282 -0.0745)
OKLCHoklch(24.23% 0.08 290.7)
XYZxyz(1.8972, 1.2904, 5.3023)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211642 #374216
analogous
#162142 #211642 #371642
triadic
#211642 #422116 #164221
tetradic
#211642 #421621 #374216 #164237
square
#211642 #421621 #374216 #164237
split-complementary
#211642 #423716 #214216
monochromatic
#0B0817 #0B0817 #211642 #382570 #4F359E

Accessibility & contrast

On white

16.69
#211642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211642
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211642#FFFFFF#000000##FFFFFF
##2116421.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F43
Deuteranopia (green-blind)
#001D41
Tritanopia (blue-blind)
#172029
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #211642;
/* rgb */ color: rgb(33, 22, 66);
/* oklch */ color: oklch(24.2% 0.080 290.7);
Tailwind
colors: {
  custom: {
    50: '#5f5377',
    500: '#211642',
    950: '#000000',
  },
}
SCSS
$custom: #211642;
$custom-light: #5f5377;
$custom-dark: #000000;
JSON
{
  "hex": "#211642",
  "rgb": {
    "r": 33,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 255,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24227,
    "c": 0.07968,
    "h": 290.7
  },
  "luminance": 0.0129
}

Semantic roles & 50–950 ramp

primary
#211642
secondary
#6A793A
accent
#DA4EB7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #211642

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

Preview Lab → · Contrast checker → · Palette generator →

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