#21094B#21094B

#21094B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.110 H 291.7°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#21094B
RGBrgb(33, 9, 75)
HSLhsl(262, 79%, 16%)
HSVhsv(262, 88%, 29%)
CMYKcmyk(56%, 88%, 0%, 70.6%)
CIE-LABlab(9.21, 29.24, -35.68)
CIE-LCHlch(9.21, 46.13, 309.34°)
OKLaboklab(23.07% 0.0408 -0.1025)
OKLCHoklch(23.07% 0.11 291.7)
XYZxyz(1.9945, 1.0266, 6.7483)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21094B #334B09
analogous
#09124B #21094B #42094B
triadic
#21094B #4B2109 #094B21
tetradic
#21094B #4B0912 #334B09 #094B42
square
#21094B #4B0912 #334B09 #094B42
split-complementary
#21094B #4B4209 #124B09
monochromatic
#0C031B #0C031B #21094B #391082 #5116B8

Accessibility & contrast

On white

17.42
#21094B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#21094B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21094B
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21094B#FFFFFF#000000##FFFFFF
##21094B1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4D
Deuteranopia (green-blind)
#00194A
Tritanopia (blue-blind)
#131C2A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #21094b;
/* rgb */ color: rgb(33, 9, 75);
/* oklch */ color: oklch(23.1% 0.110 291.7);
Tailwind
colors: {
  custom: {
    50: '#624c7e',
    500: '#21094b',
    950: '#000000',
  },
}
SCSS
$custom: #21094b;
$custom-light: #624c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#21094b",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 75
  },
  "hsl": {
    "h": 261.818,
    "s": 78.571,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2307,
    "c": 0.11034,
    "h": 291.7
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#21094B
secondary
#658828
accent
#F533AE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #21094B

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

Preview Lab → · Contrast checker → · Palette generator →

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