#211544#211544

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

Color values

HEX#211544
RGBrgb(33, 21, 68)
HSLhsl(255, 53%, 17%)
HSVhsv(255, 69%, 27%)
CMYKcmyk(51.5%, 69.1%, 0%, 73.3%)
CIE-LABlab(11.11, 19.74, -27.68)
CIE-LCHlch(11.11, 34.00, 305.49°)
OKLaboklab(24.21% 0.0295 -0.0791)
OKLCHoklch(24.21% 0.084 290.4)
XYZxyz(1.9385, 1.2769, 5.6121)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211544 #384415
analogous
#152144 #211544 #381544
triadic
#211544 #442115 #154421
tetradic
#211544 #441521 #384415 #154438
square
#211544 #441521 #384415 #154438
split-complementary
#211544 #443815 #214415
monochromatic
#0B0717 #0B0717 #211544 #382373 #4E32A2

Accessibility & contrast

On white

16.73
#211544 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211544
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211544#FFFFFF#000000##FFFFFF
##2115441.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#16202A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #211544;
/* rgb */ color: rgb(33, 21, 68);
/* oklch */ color: oklch(24.2% 0.084 290.4);
Tailwind
colors: {
  custom: {
    50: '#605378',
    500: '#211544',
    950: '#000000',
  },
}
SCSS
$custom: #211544;
$custom-light: #605378;
$custom-dark: #000000;
JSON
{
  "hex": "#211544",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 68
  },
  "hsl": {
    "h": 255.319,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24211,
    "c": 0.08441,
    "h": 290.4
  },
  "luminance": 0.01277
}

Semantic roles & 50–950 ramp

primary
#211544
secondary
#6B7C39
accent
#DC4CB7
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #211544

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

Preview Lab → · Contrast checker → · Palette generator →

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