#21092B#21092B

#21092B is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.9% C 0.069 H 314.5°. Best body text is #FFFFFF at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#21092B
RGBrgb(33, 9, 43)
HSLhsl(282, 65%, 10%)
HSVhsv(282, 79%, 17%)
CMYKcmyk(23.3%, 79.1%, 0%, 83.1%)
CIE-LABlab(6.26, 19.19, -17.36)
CIE-LCHlch(6.26, 25.88, 317.87°)
OKLaboklab(19.92% 0.0486 -0.0495)
OKLCHoklch(19.92% 0.069 314.5)
XYZxyz(1.1609, 0.6932, 2.3577)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21092B #132B09
analogous
#10092B #21092B #2B0924
triadic
#21092B #2B2109 #092B21
tetradic
#21092B #2B1009 #132B09 #09242B
square
#21092B #2B1009 #132B09 #09242B
split-complementary
#21092B #242B09 #092B10
monochromatic
#130519 #130519 #21092B #48145E #6F1E90

Accessibility & contrast

On white

18.44
#21092B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21092B
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21092B#FFFFFF#000000##FFFFFF
##21092B1.0018.441.1418.44
#FFFFFF18.441.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01132C
Deuteranopia (green-blind)
#08142A
Tritanopia (blue-blind)
#200F18
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #21092b;
/* rgb */ color: rgb(33, 9, 43);
/* oklch */ color: oklch(19.9% 0.069 314.5);
Tailwind
colors: {
  custom: {
    50: '#5d4a64',
    500: '#21092b',
    950: '#000000',
  },
}
SCSS
$custom: #21092b;
$custom-light: #5d4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#21092b",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 43
  },
  "hsl": {
    "h": 282.353,
    "s": 65.385,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19924,
    "c": 0.06937,
    "h": 314.5
  },
  "luminance": 0.00693
}

Semantic roles & 50–950 ramp

primary
#21092B
secondary
#3A6927
accent
#E83F71
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #21092B

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

Preview Lab → · Contrast checker → · Palette generator →

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