#211147#211147

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

Color values

HEX#211147
RGBrgb(33, 17, 71)
HSLhsl(258, 61%, 17%)
HSVhsv(258, 76%, 28%)
CMYKcmyk(53.5%, 76.1%, 0%, 72.2%)
CIE-LABlab(10.40, 23.42, -30.94)
CIE-LCHlch(10.40, 38.80, 307.12°)
OKLaboklab(23.78% 0.034 -0.0887)
OKLCHoklch(23.78% 0.095 291)
XYZxyz(1.9647, 1.1791, 6.0841)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211147 #374711
analogous
#111C47 #211147 #3C1147
triadic
#211147 #472111 #114721
tetradic
#211147 #47111C #374711 #11473C
square
#211147 #47111C #374711 #11473C
split-complementary
#211147 #473C11 #1C4711
monochromatic
#0B0619 #0B0619 #211147 #381D78 #4F29AA

Accessibility & contrast

On white

16.99
#211147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211147
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211147#FFFFFF#000000##FFFFFF
##2111471.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#151E2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #211147;
/* rgb */ color: rgb(33, 17, 71);
/* oklch */ color: oklch(23.8% 0.095 291.0);
Tailwind
colors: {
  custom: {
    50: '#61507b',
    500: '#211147',
    950: '#000000',
  },
}
SCSS
$custom: #211147;
$custom-light: #61507b;
$custom-dark: #000000;
JSON
{
  "hex": "#211147",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 257.778,
    "s": 61.364,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23783,
    "c": 0.09498,
    "h": 291
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#211147
secondary
#6A8133
accent
#E443B5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #211147

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

Preview Lab → · Contrast checker → · Palette generator →

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