#21094A#21094A

#21094A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.109 H 292.2°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#21094A
RGBrgb(33, 9, 74)
HSLhsl(262, 78%, 16%)
HSVhsv(262, 88%, 29%)
CMYKcmyk(55.4%, 87.8%, 0%, 71%)
CIE-LABlab(9.10, 28.94, -35.17)
CIE-LCHlch(9.10, 45.54, 309.45°)
OKLaboklab(22.96% 0.0412 -0.101)
OKLCHoklch(22.96% 0.109 292.2)
XYZxyz(1.9606, 1.0130, 6.5695)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21094A #324A09
analogous
#09124A #21094A #42094A
triadic
#21094A #4A2109 #094A21
tetradic
#21094A #4A0912 #324A09 #094A42
square
#21094A #4A0912 #324A09 #094A42
split-complementary
#21094A #4A4209 #124A09
monochromatic
#0C031B #0C031B #21094A #391081 #5216B7

Accessibility & contrast

On white

17.46
#21094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#21094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21094A
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21094A#FFFFFF#000000##FFFFFF
##21094A1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#131C2A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #21094a;
/* rgb */ color: rgb(33, 9, 74);
/* oklch */ color: oklch(23.0% 0.109 292.2);
Tailwind
colors: {
  custom: {
    50: '#624c7d',
    500: '#21094a',
    950: '#000000',
  },
}
SCSS
$custom: #21094a;
$custom-light: #624c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#21094a",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 262.154,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22959,
    "c": 0.10909,
    "h": 292.2
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#21094A
secondary
#648727
accent
#F533AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #21094A

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

Preview Lab → · Contrast checker → · Palette generator →

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