#211546#211546

#211546 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.087 H 289.6°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#211546
RGBrgb(33, 21, 70)
HSLhsl(255, 54%, 18%)
HSVhsv(255, 70%, 27%)
CMYKcmyk(52.9%, 70%, 0%, 72.5%)
CIE-LABlab(11.29, 20.43, -28.80)
CIE-LCHlch(11.29, 35.31, 305.35°)
OKLaboklab(24.39% 0.0293 -0.0824)
OKLCHoklch(24.39% 0.087 289.6)
XYZxyz(2.0005, 1.3018, 5.9390)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211546 #3A4615
analogous
#152146 #211546 #391546
triadic
#211546 #462115 #154621
tetradic
#211546 #461521 #3A4615 #154639
square
#211546 #461521 #3A4615 #154639
split-complementary
#211546 #463915 #214615
monochromatic
#0B0718 #0B0718 #211546 #372375 #4D31A4

Accessibility & contrast

On white

16.66
#211546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211546
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211546#FFFFFF#000000##FFFFFF
##2115461.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#15212B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #211546;
/* rgb */ color: rgb(33, 21, 70);
/* oklch */ color: oklch(24.4% 0.087 289.6);
Tailwind
colors: {
  custom: {
    50: '#60537a',
    500: '#211546',
    950: '#000000',
  },
}
SCSS
$custom: #211546;
$custom-light: #60537a;
$custom-dark: #000000;
JSON
{
  "hex": "#211546",
  "rgb": {
    "r": 33,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 254.694,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24393,
    "c": 0.08745,
    "h": 289.6
  },
  "luminance": 0.01302
}

Semantic roles & 50–950 ramp

primary
#211546
secondary
#6D7E39
accent
#DD4BB9
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050209
muted
#79787B

Preview Lab

Preview with #211546

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

Preview Lab → · Contrast checker → · Palette generator →

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