#21093B#21093B

#21093B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.090 H 300.8°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#21093B
RGBrgb(33, 9, 59)
HSLhsl(269, 74%, 13%)
HSVhsv(269, 85%, 23%)
CMYKcmyk(44.1%, 84.7%, 0%, 76.9%)
CIE-LABlab(7.54, 24.35, -27.09)
CIE-LCHlch(7.54, 36.43, 311.95°)
OKLaboklab(21.38% 0.0461 -0.0774)
OKLCHoklch(21.38% 0.09 300.8)
XYZxyz(1.5141, 0.8345, 4.2181)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21093B #233B09
analogous
#090A3B #21093B #3A093B
triadic
#21093B #3B2109 #093B21
tetradic
#21093B #3B090A #233B09 #093B3A
square
#21093B #3B090A #233B09 #093B3A
split-complementary
#21093B #3B3A09 #0A3B09
monochromatic
#0F041B #0F041B #21093B #3F1170 #5C19A5

Accessibility & contrast

On white

18.00
#21093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#21093B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21093B
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21093B#FFFFFF#000000##FFFFFF
##21093B1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#1B1621
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #21093b;
/* rgb */ color: rgb(33, 9, 59);
/* oklch */ color: oklch(21.4% 0.090 300.8);
Tailwind
colors: {
  custom: {
    50: '#5f4b71',
    500: '#21093b',
    950: '#000000',
  },
}
SCSS
$custom: #21093b;
$custom-light: #5f4b71;
$custom-dark: #000000;
JSON
{
  "hex": "#21093b",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 268.8,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21377,
    "c": 0.09004,
    "h": 300.8
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#21093B
secondary
#527927
accent
#F03898
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #21093B

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

Preview Lab → · Contrast checker → · Palette generator →

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