#21114A#21114A

#21114A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.099 H 289.7°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#21114A
RGBrgb(33, 17, 74)
HSLhsl(257, 63%, 18%)
HSVhsv(257, 77%, 29%)
CMYKcmyk(55.4%, 77%, 0%, 71%)
CIE-LABlab(10.69, 24.42, -32.55)
CIE-LCHlch(10.69, 40.70, 306.87°)
OKLaboklab(24.08% 0.0335 -0.0934)
OKLCHoklch(24.08% 0.099 289.7)
XYZxyz(2.0633, 1.2186, 6.6037)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21114A #3A4A11
analogous
#111D4A #21114A #3D114A
triadic
#21114A #4A2111 #114A21
tetradic
#21114A #4A111D #3A4A11 #114A3D
square
#21114A #4A111D #3A4A11 #114A3D
split-complementary
#21114A #4A3D11 #1D4A11
monochromatic
#0B0619 #0B0619 #21114A #371C7C #4D28AE

Accessibility & contrast

On white

16.88
#21114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#21114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21114A
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21114A#FFFFFF#000000##FFFFFF
##21114A1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001B49
Tritanopia (blue-blind)
#13202C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #21114a;
/* rgb */ color: rgb(33, 17, 74);
/* oklch */ color: oklch(24.1% 0.099 289.7);
Tailwind
colors: {
  custom: {
    50: '#61507d',
    500: '#21114a',
    950: '#000000',
  },
}
SCSS
$custom: #21114a;
$custom-light: #61507d;
$custom-dark: #000000;
JSON
{
  "hex": "#21114a",
  "rgb": {
    "r": 33,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 256.842,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24081,
    "c": 0.09923,
    "h": 289.7
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#21114A
secondary
#6D8333
accent
#E642B8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #21114A

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

Preview Lab → · Contrast checker → · Palette generator →

#21114A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva