#211557#211557

#211557 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.112 H 283.7°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#211557
RGBrgb(33, 21, 87)
HSLhsl(251, 61%, 21%)
HSVhsv(251, 76%, 34%)
CMYKcmyk(62.1%, 75.9%, 0%, 65.9%)
CIE-LABlab(12.91, 26.34, -37.84)
CIE-LCHlch(12.91, 46.11, 304.84°)
OKLaboklab(26.06% 0.0266 -0.1089)
OKLCHoklch(26.06% 0.112 283.7)
XYZxyz(2.6151, 1.5476, 9.1759)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211557 #4B5715
analogous
#152A57 #211557 #421557
triadic
#211557 #572115 #155721
tetradic
#211557 #57152A #4B5715 #155742
square
#211557 #57152A #4B5715 #155742
split-complementary
#211557 #574215 #2A5715
monochromatic
#090619 #0E0926 #211557 #342188 #462DBA

Accessibility & contrast

On white

16.04
#211557 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#211557 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211557
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211557#FFFFFF#000000##FFFFFF
##2115571.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002359
Deuteranopia (green-blind)
#001F56
Tritanopia (blue-blind)
#052734
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #211557;
/* rgb */ color: rgb(33, 21, 87);
/* oklch */ color: oklch(26.1% 0.112 283.7);
Tailwind
colors: {
  custom: {
    50: '#645387',
    500: '#211557',
    950: '#000000',
  },
}
SCSS
$custom: #211557;
$custom-light: #645387;
$custom-dark: #000000;
JSON
{
  "hex": "#211557",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 87
  },
  "hsl": {
    "h": 250.909,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26063,
    "c": 0.11215,
    "h": 283.7
  },
  "luminance": 0.01548
}

Semantic roles & 50–950 ramp

primary
#211557
secondary
#7F8F39
accent
#E444C7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #211557

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

Preview Lab → · Contrast checker → · Palette generator →

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