#211442#211442

#211442 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.083 H 291.9°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#211442
RGBrgb(33, 20, 66)
HSLhsl(257, 53%, 17%)
HSVhsv(257, 70%, 26%)
CMYKcmyk(50%, 69.7%, 0%, 74.1%)
CIE-LABlab(10.68, 19.75, -26.98)
CIE-LCHlch(10.68, 33.43, 306.20°)
OKLaboklab(23.84% 0.031 -0.077)
OKLCHoklch(23.84% 0.083 291.9)
XYZxyz(1.8605, 1.2169, 5.2901)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211442 #354214
analogous
#141E42 #211442 #381442
triadic
#211442 #422114 #144221
tetradic
#211442 #42141E #354214 #144238
square
#211442 #42141E #354214 #144238
split-complementary
#211442 #423814 #1E4214
monochromatic
#0C0717 #0C0717 #211442 #382271 #5030A0

Accessibility & contrast

On white

16.89
#211442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#211442 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211442
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211442#FFFFFF#000000##FFFFFF
##2114421.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E43
Deuteranopia (green-blind)
#001C41
Tritanopia (blue-blind)
#171F28
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #211442;
/* rgb */ color: rgb(33, 20, 66);
/* oklch */ color: oklch(23.8% 0.083 291.9);
Tailwind
colors: {
  custom: {
    50: '#605277',
    500: '#211442',
    950: '#000000',
  },
}
SCSS
$custom: #211442;
$custom-light: #605277;
$custom-dark: #000000;
JSON
{
  "hex": "#211442",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 66
  },
  "hsl": {
    "h": 256.957,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23842,
    "c": 0.08301,
    "h": 291.9
  },
  "luminance": 0.01217
}

Semantic roles & 50–950 ramp

primary
#211442
secondary
#677A38
accent
#DD4BB4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #211442

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

Preview Lab → · Contrast checker → · Palette generator →

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