#21093A#21093A

#21093A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.089 H 301.5°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#21093A
RGBrgb(33, 9, 58)
HSLhsl(269, 73%, 13%)
HSVhsv(269, 84%, 23%)
CMYKcmyk(43.1%, 84.5%, 0%, 77.3%)
CIE-LABlab(7.44, 24.04, -26.52)
CIE-LCHlch(7.44, 35.79, 312.19°)
OKLaboklab(21.28% 0.0463 -0.0757)
OKLCHoklch(21.28% 0.089 301.5)
XYZxyz(1.4884, 0.8242, 4.0828)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21093A #223A09
analogous
#09093A #21093A #39093A
triadic
#21093A #3A2109 #093A21
tetradic
#21093A #3A0909 #223A09 #093A39
square
#21093A #3A0909 #223A09 #093A39
split-complementary
#21093A #3A3909 #093A09
monochromatic
#0F041A #0F041A #21093A #3F116F #5D19A4

Accessibility & contrast

On white

18.03
#21093A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#21093A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21093A
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21093A#FFFFFF#000000##FFFFFF
##21093A1.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#1C1520
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #21093a;
/* rgb */ color: rgb(33, 9, 58);
/* oklch */ color: oklch(21.3% 0.089 301.5);
Tailwind
colors: {
  custom: {
    50: '#5f4b71',
    500: '#21093a',
    950: '#000000',
  },
}
SCSS
$custom: #21093a;
$custom-light: #5f4b71;
$custom-dark: #000000;
JSON
{
  "hex": "#21093a",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 58
  },
  "hsl": {
    "h": 269.388,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21278,
    "c": 0.08876,
    "h": 301.5
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#21093A
secondary
#507827
accent
#F03896
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #21093A

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

Preview Lab → · Contrast checker → · Palette generator →

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