#21092C#21092C

#21092C is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.071 H 313.4°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#21092C
RGBrgb(33, 9, 44)
HSLhsl(281, 66%, 10%)
HSVhsv(281, 80%, 17%)
CMYKcmyk(25%, 79.5%, 0%, 82.7%)
CIE-LABlab(6.33, 19.51, -18.01)
CIE-LCHlch(6.33, 26.55, 317.30°)
OKLaboklab(20.01% 0.0486 -0.0513)
OKLCHoklch(20.01% 0.071 313.4)
XYZxyz(1.1794, 0.7006, 2.4555)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21092C #142C09
analogous
#0F092C #21092C #2C0925
triadic
#21092C #2C2109 #092C21
tetradic
#21092C #2C0F09 #142C09 #09252C
square
#21092C #2C0F09 #142C09 #09252C
split-complementary
#21092C #252C09 #092C0F
monochromatic
#130519 #130519 #21092C #47135F #6D1E92

Accessibility & contrast

On white

18.42
#21092C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21092C
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21092C#FFFFFF#000000##FFFFFF
##21092C1.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132D
Deuteranopia (green-blind)
#07152B
Tritanopia (blue-blind)
#201019
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #21092c;
/* rgb */ color: rgb(33, 9, 44);
/* oklch */ color: oklch(20.0% 0.071 313.4);
Tailwind
colors: {
  custom: {
    50: '#5d4a65',
    500: '#21092c',
    950: '#000000',
  },
}
SCSS
$custom: #21092c;
$custom-light: #5d4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#21092c",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 44
  },
  "hsl": {
    "h": 281.143,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20006,
    "c": 0.07065,
    "h": 313.4
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#21092C
secondary
#3C6A27
accent
#E93F74
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #21092C

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

Preview Lab → · Contrast checker → · Palette generator →

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