#211554#211554

#211554 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.108 H 284.6°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#211554
RGBrgb(33, 21, 84)
HSLhsl(251, 60%, 21%)
HSVhsv(251, 75%, 33%)
CMYKcmyk(60.7%, 75%, 0%, 67.1%)
CIE-LABlab(12.61, 25.30, -36.30)
CIE-LCHlch(12.61, 44.25, 304.87°)
OKLaboklab(25.76% 0.0273 -0.1044)
OKLCHoklch(25.76% 0.108 284.6)
XYZxyz(2.4951, 1.4996, 8.5438)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211554 #485415
analogous
#152854 #211554 #401554
triadic
#211554 #542115 #155421
tetradic
#211554 #541528 #485415 #155440
square
#211554 #541528 #485415 #155440
split-complementary
#211554 #544015 #285415
monochromatic
#0A0618 #0E0923 #211554 #342185 #472DB6

Accessibility & contrast

On white

16.15
#211554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#211554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211554
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211554#FFFFFF#000000##FFFFFF
##2115541.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#001F53
Tritanopia (blue-blind)
#092532
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #211554;
/* rgb */ color: rgb(33, 21, 84);
/* oklch */ color: oklch(25.8% 0.108 284.6);
Tailwind
colors: {
  custom: {
    50: '#635385',
    500: '#211554',
    950: '#000000',
  },
}
SCSS
$custom: #211554;
$custom-light: #635385;
$custom-dark: #000000;
JSON
{
  "hex": "#211554",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 251.429,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25755,
    "c": 0.10793,
    "h": 284.6
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#211554
secondary
#7C8C39
accent
#E345C5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211554

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

Preview Lab → · Contrast checker → · Palette generator →

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