#211048#211048

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

Color values

HEX#211048
RGBrgb(33, 16, 72)
HSLhsl(258, 64%, 17%)
HSVhsv(258, 78%, 28%)
CMYKcmyk(54.2%, 77.8%, 0%, 71.8%)
CIE-LABlab(10.27, 24.38, -31.85)
CIE-LCHlch(10.27, 40.11, 307.43°)
OKLaboklab(23.72% 0.035 -0.0913)
OKLCHoklch(23.72% 0.098 291)
XYZxyz(1.9819, 1.1617, 6.2494)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211048 #374810
analogous
#101B48 #211048 #3D1048
triadic
#211048 #482110 #104821
tetradic
#211048 #48101B #374810 #10483D
square
#211048 #48101B #374810 #10483D
split-complementary
#211048 #483D10 #1B4810
monochromatic
#0B0619 #0B0619 #211048 #381B7A #4F26AC

Accessibility & contrast

On white

17.04
#211048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#211048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211048
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211048#FFFFFF#000000##FFFFFF
##2110481.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #211048;
/* rgb */ color: rgb(33, 16, 72);
/* oklch */ color: oklch(23.7% 0.098 291.0);
Tailwind
colors: {
  custom: {
    50: '#614f7c',
    500: '#211048',
    950: '#000000',
  },
}
SCSS
$custom: #211048;
$custom-light: #614f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#211048",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 258.214,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2372,
    "c": 0.09781,
    "h": 291
  },
  "luminance": 0.01162
}

Semantic roles & 50–950 ramp

primary
#211048
secondary
#6A8232
accent
#E741B4
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050209
muted
#79787B

Preview Lab

Preview with #211048

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

Preview Lab → · Contrast checker → · Palette generator →

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