#21093C#21093C

#21093C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.091 H 300.1°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#21093C
RGBrgb(33, 9, 60)
HSLhsl(268, 74%, 14%)
HSVhsv(268, 85%, 24%)
CMYKcmyk(45%, 85%, 0%, 76.5%)
CIE-LABlab(7.63, 24.67, -27.66)
CIE-LCHlch(7.63, 37.06, 311.73°)
OKLaboklab(21.48% 0.0458 -0.079)
OKLCHoklch(21.48% 0.091 300.1)
XYZxyz(1.5403, 0.8449, 4.3560)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21093C #243C09
analogous
#090A3C #21093C #3A093C
triadic
#21093C #3C2109 #093C21
tetradic
#21093C #3C090A #243C09 #093C3A
square
#21093C #3C090A #243C09 #093C3A
split-complementary
#21093C #3C3A09 #0A3C09
monochromatic
#0F041B #0F041B #21093C #3E1171 #5C19A6

Accessibility & contrast

On white

17.96
#21093C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21093C
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21093C#FFFFFF#000000##FFFFFF
##21093C1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#00163B
Tritanopia (blue-blind)
#1B1622
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #21093c;
/* rgb */ color: rgb(33, 9, 60);
/* oklch */ color: oklch(21.5% 0.091 300.1);
Tailwind
colors: {
  custom: {
    50: '#604b72',
    500: '#21093c',
    950: '#000000',
  },
}
SCSS
$custom: #21093c;
$custom-light: #604b72;
$custom-dark: #000000;
JSON
{
  "hex": "#21093c",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 60
  },
  "hsl": {
    "h": 268.235,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21477,
    "c": 0.09132,
    "h": 300.1
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#21093C
secondary
#537A27
accent
#F13799
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #21093C

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

Preview Lab → · Contrast checker → · Palette generator →

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