#21093F#21093F

#21093F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.095 H 298.2°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#21093F
RGBrgb(33, 9, 63)
HSLhsl(267, 75%, 14%)
HSVhsv(267, 86%, 25%)
CMYKcmyk(47.6%, 85.7%, 0%, 75.3%)
CIE-LABlab(7.93, 25.59, -29.33)
CIE-LCHlch(7.93, 38.92, 311.11°)
OKLaboklab(21.78% 0.0449 -0.0839)
OKLCHoklch(21.78% 0.095 298.2)
XYZxyz(1.6219, 0.8776, 4.7856)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21093F #273F09
analogous
#090C3F #21093F #3C093F
triadic
#21093F #3F2109 #093F21
tetradic
#21093F #3F090C #273F09 #093F3C
square
#21093F #3F090C #273F09 #093F3C
split-complementary
#21093F #3F3C09 #0C3F09
monochromatic
#0E041B #0E041B #21093F #3D1175 #5918AA

Accessibility & contrast

On white

17.86
#21093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#21093F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21093F
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21093F#FFFFFF#000000##FFFFFF
##21093F1.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#191723
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #21093f;
/* rgb */ color: rgb(33, 9, 63);
/* oklch */ color: oklch(21.8% 0.095 298.2);
Tailwind
colors: {
  custom: {
    50: '#604b75',
    500: '#21093f',
    950: '#000000',
  },
}
SCSS
$custom: #21093f;
$custom-light: #604b75;
$custom-dark: #000000;
JSON
{
  "hex": "#21093f",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 266.667,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21781,
    "c": 0.09517,
    "h": 298.2
  },
  "luminance": 0.00878
}

Semantic roles & 50–950 ramp

primary
#21093F
secondary
#577D27
accent
#F2369E
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #21093F

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

Preview Lab → · Contrast checker → · Palette generator →

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