#21092A#21092A

#21092A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.8% C 0.068 H 315.6°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#21092A
RGBrgb(33, 9, 42)
HSLhsl(284, 65%, 10%)
HSVhsv(284, 79%, 16%)
CMYKcmyk(21.4%, 78.6%, 0%, 83.5%)
CIE-LABlab(6.20, 18.87, -16.71)
CIE-LCHlch(6.20, 25.21, 318.47°)
OKLaboklab(19.84% 0.0486 -0.0476)
OKLCHoklch(19.84% 0.068 315.6)
XYZxyz(1.1427, 0.6859, 2.2622)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21092A #122A09
analogous
#10092A #21092A #2A0923
triadic
#21092A #2A2109 #092A21
tetradic
#21092A #2A1009 #122A09 #09232A
square
#21092A #2A1009 #122A09 #09232A
split-complementary
#21092A #232A09 #092A10
monochromatic
#140519 #140519 #21092A #49145C #701F8F

Accessibility & contrast

On white

18.47
#21092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#21092A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21092A
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21092A#FFFFFF#000000##FFFFFF
##21092A1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122B
Deuteranopia (green-blind)
#091429
Tritanopia (blue-blind)
#200F18
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #21092a;
/* rgb */ color: rgb(33, 9, 42);
/* oklch */ color: oklch(19.8% 0.068 315.6);
Tailwind
colors: {
  custom: {
    50: '#5d4a63',
    500: '#21092a',
    950: '#000000',
  },
}
SCSS
$custom: #21092a;
$custom-light: #5d4a63;
$custom-dark: #000000;
JSON
{
  "hex": "#21092a",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 283.636,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.19843,
    "c": 0.06808,
    "h": 315.6
  },
  "luminance": 0.00686
}

Semantic roles & 50–950 ramp

primary
#21092A
secondary
#396827
accent
#E8406E
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #21092A

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

Preview Lab → · Contrast checker → · Palette generator →

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