#211148#211148

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

Color values

HEX#211148
RGBrgb(33, 17, 72)
HSLhsl(257, 62%, 17%)
HSVhsv(257, 76%, 28%)
CMYKcmyk(54.2%, 76.4%, 0%, 71.8%)
CIE-LABlab(10.50, 23.75, -31.48)
CIE-LCHlch(10.50, 39.44, 307.03°)
OKLaboklab(23.88% 0.0339 -0.0903)
OKLCHoklch(23.88% 0.096 290.6)
XYZxyz(1.9970, 1.1920, 6.2545)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211148 #384811
analogous
#111C48 #211148 #3D1148
triadic
#211148 #482111 #114821
tetradic
#211148 #48111C #384811 #11483D
square
#211148 #48111C #384811 #11483D
split-complementary
#211148 #483D11 #1C4811
monochromatic
#0B0619 #0B0619 #211148 #381D7A #4E28AB

Accessibility & contrast

On white

16.96
#211148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #211148
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211148#FFFFFF#000000##FFFFFF
##2111481.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#141F2A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #211148;
/* rgb */ color: rgb(33, 17, 72);
/* oklch */ color: oklch(23.9% 0.096 290.6);
Tailwind
colors: {
  custom: {
    50: '#61507b',
    500: '#211148',
    950: '#000000',
  },
}
SCSS
$custom: #211148;
$custom-light: #61507b;
$custom-dark: #000000;
JSON
{
  "hex": "#211148",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 257.455,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23881,
    "c": 0.0964,
    "h": 290.6
  },
  "luminance": 0.01192
}

Semantic roles & 50–950 ramp

primary
#211148
secondary
#6B8233
accent
#E543B6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #211148

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

Preview Lab → · Contrast checker → · Palette generator →

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