#21093E#21093E

#21093E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.094 H 298.8°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#21093E
RGBrgb(33, 9, 62)
HSLhsl(267, 75%, 14%)
HSVhsv(267, 85%, 24%)
CMYKcmyk(46.8%, 85.5%, 0%, 75.7%)
CIE-LABlab(7.83, 25.29, -28.78)
CIE-LCHlch(7.83, 38.31, 311.31°)
OKLaboklab(21.68% 0.0452 -0.0823)
OKLCHoklch(21.68% 0.094 298.8)
XYZxyz(1.5942, 0.8665, 4.6398)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21093E #263E09
analogous
#090C3E #21093E #3C093E
triadic
#21093E #3E2109 #093E21
tetradic
#21093E #3E090C #263E09 #093E3C
square
#21093E #3E090C #263E09 #093E3C
split-complementary
#21093E #3E3C09 #0C3E09
monochromatic
#0E041B #0E041B #21093E #3D1173 #5A19A9

Accessibility & contrast

On white

17.90
#21093E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21093E
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21093E#FFFFFF#000000##FFFFFF
##21093E1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001740
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#1A1723
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #21093e;
/* rgb */ color: rgb(33, 9, 62);
/* oklch */ color: oklch(21.7% 0.094 298.8);
Tailwind
colors: {
  custom: {
    50: '#604b74',
    500: '#21093e',
    950: '#000000',
  },
}
SCSS
$custom: #21093e;
$custom-light: #604b74;
$custom-dark: #000000;
JSON
{
  "hex": "#21093e",
  "rgb": {
    "r": 33,
    "g": 9,
    "b": 62
  },
  "hsl": {
    "h": 267.17,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21679,
    "c": 0.09389,
    "h": 298.8
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#21093E
secondary
#557C27
accent
#F1379D
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #21093E

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

Preview Lab → · Contrast checker → · Palette generator →

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