#211040#211040

#211040 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.086 H 294.9°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#211040
RGBrgb(33, 16, 64)
HSLhsl(261, 60%, 16%)
HSVhsv(261, 75%, 25%)
CMYKcmyk(48.4%, 75%, 0%, 74.9%)
CIE-LABlab(9.51, 21.75, -27.46)
CIE-LCHlch(9.51, 35.02, 308.38°)
OKLaboklab(22.94% 0.0365 -0.0784)
OKLCHoklch(22.94% 0.086 294.9)
XYZxyz(1.7377, 1.0640, 4.9633)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#211040 #2F4010
analogous
#101740 #211040 #391040
triadic
#211040 #402110 #104021
tetradic
#211040 #401017 #2F4010 #104039
square
#211040 #401017 #2F4010 #104039
split-complementary
#211040 #403910 #174010
monochromatic
#0D0618 #0D0618 #211040 #3A1C71 #5328A2

Accessibility & contrast

On white

17.32
#211040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#211040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #211040
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##211040#FFFFFF#000000##FFFFFF
##2110401.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#001A3F
Tritanopia (blue-blind)
#191B26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #211040;
/* rgb */ color: rgb(33, 16, 64);
/* oklch */ color: oklch(22.9% 0.086 294.9);
Tailwind
colors: {
  custom: {
    50: '#604f75',
    500: '#211040',
    950: '#000000',
  },
}
SCSS
$custom: #211040;
$custom-light: #604f75;
$custom-dark: #000000;
JSON
{
  "hex": "#211040",
  "rgb": {
    "r": 33,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 261.25,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2294,
    "c": 0.08648,
    "h": 294.9
  },
  "luminance": 0.01064
}

Semantic roles & 50–950 ramp

primary
#211040
secondary
#607A32
accent
#E345AB
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #211040

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

Preview Lab → · Contrast checker → · Palette generator →

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