#21092F#21092F

#21092F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.075 H 310.4°. Best body text is #FFFFFF at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#21092F
RGBrgb(33, 9, 47)
HSLhsl(278, 68%, 11%)
HSVhsv(278, 81%, 18%)
CMYKcmyk(29.8%, 80.9%, 0%, 81.6%)
CIE-LABlab(6.54, 20.48, -19.91)
CIE-LCHlch(6.54, 28.57, 315.81°)
OKLaboklab(20.26% 0.0483 -0.0567)
OKLCHoklch(20.26% 0.075 310.4)
XYZxyz(1.2379, 0.7240, 2.7633)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21092F #172F09
analogous
#0E092F #21092F #2F092A
triadic
#21092F #2F2109 #092F21
tetradic
#21092F #2F0E09 #172F09 #092A2F
square
#21092F #2F0E09 #172F09 #092A2F
split-complementary
#21092F #2A2F09 #092F0E
monochromatic
#12051A #12051A #21092F #451362 #691D96

Accessibility & contrast

On white

18.34
#21092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21092F
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21092F#FFFFFF#000000##FFFFFF
##21092F1.0018.341.1418.34
#FFFFFF18.341.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#05152E
Tritanopia (blue-blind)
#1F111A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #21092f;
/* rgb */ color: rgb(33, 9, 47);
/* oklch */ color: oklch(20.3% 0.075 310.4);
Tailwind
colors: {
  custom: {
    50: '#5e4a68',
    500: '#21092f',
    950: '#000000',
  },
}
SCSS
$custom: #21092f;
$custom-light: #5e4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#21092f",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 277.895,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2026,
    "c": 0.07452,
    "h": 310.4
  },
  "luminance": 0.00724
}

Semantic roles & 50–950 ramp

primary
#21092F
secondary
#416D27
accent
#EB3D7D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #21092F

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

Preview Lab → · Contrast checker → · Palette generator →

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