#211247#211247

#211247 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.094 H 290.6°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#211247
RGBrgb(33, 18, 71)
HSLhsl(257, 60%, 17%)
HSVhsv(257, 75%, 28%)
CMYKcmyk(53.5%, 74.6%, 0%, 72.2%)
CIE-LABlab(10.64, 22.77, -30.56)
CIE-LCHlch(10.64, 38.11, 306.70°)
OKLaboklab(23.95% 0.0329 -0.0875)
OKLCHoklch(23.95% 0.094 290.6)
XYZxyz(1.9805, 1.2108, 6.0894)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211247 #384712
analogous
#121E47 #211247 #3C1247
triadic
#211247 #472112 #124721
tetradic
#211247 #47121E #384712 #12473C
square
#211247 #47121E #384712 #12473C
split-complementary
#211247 #473C12 #1E4712
monochromatic
#0B0618 #0B0618 #211247 #381E78 #4E2BA9

Accessibility & contrast

On white

16.91
#211247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211247
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211247#FFFFFF#000000##FFFFFF
##2112471.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E49
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#151F2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #211247;
/* rgb */ color: rgb(33, 18, 71);
/* oklch */ color: oklch(24.0% 0.094 290.6);
Tailwind
colors: {
  custom: {
    50: '#61517b',
    500: '#211247',
    950: '#000000',
  },
}
SCSS
$custom: #211247;
$custom-light: #61517b;
$custom-dark: #000000;
JSON
{
  "hex": "#211247",
  "rgb": {
    "r": 33,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 256.981,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23951,
    "c": 0.09352,
    "h": 290.6
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#211247
secondary
#6B8035
accent
#E345B6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #211247

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

Preview Lab → · Contrast checker → · Palette generator →

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