#21144A#21144A

#21144A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.095 H 288.5°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#21144A
RGBrgb(33, 20, 74)
HSLhsl(254, 57%, 18%)
HSVhsv(254, 73%, 29%)
CMYKcmyk(55.4%, 73%, 0%, 71%)
CIE-LABlab(11.40, 22.48, -31.40)
CIE-LCHlch(11.40, 38.62, 305.60°)
OKLaboklab(24.59% 0.0301 -0.09)
OKLCHoklch(24.59% 0.095 288.5)
XYZxyz(2.1130, 1.3180, 6.6203)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21144A #3D4A14
analogous
#14224A #21144A #3C144A
triadic
#21144A #4A2114 #144A21
tetradic
#21144A #4A1422 #3D4A14 #144A3C
square
#21144A #4A1422 #3D4A14 #144A3C
split-complementary
#21144A #4A3C14 #224A14
monochromatic
#0B0718 #0C071A #21144A #36217A #4C2EAA

Accessibility & contrast

On white

16.62
#21144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#21144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21144A
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21144A#FFFFFF#000000##FFFFFF
##21144A1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#13212D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #21144a;
/* rgb */ color: rgb(33, 20, 74);
/* oklch */ color: oklch(24.6% 0.095 288.5);
Tailwind
colors: {
  custom: {
    50: '#61527d',
    500: '#21144a',
    950: '#000000',
  },
}
SCSS
$custom: #21144a;
$custom-light: #61527d;
$custom-dark: #000000;
JSON
{
  "hex": "#21144a",
  "rgb": {
    "r": 33,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 254.444,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24589,
    "c": 0.09492,
    "h": 288.5
  },
  "luminance": 0.01318
}

Semantic roles & 50–950 ramp

primary
#21144A
secondary
#708238
accent
#E147BC
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #21144A

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

Preview Lab → · Contrast checker → · Palette generator →

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