#100221#100221

#100221 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.7% C 0.067 H 301.4°. Best body text is #FFFFFF at 19.95:1 contrast (WCAG AA passes).

Color values

HEX#100221
RGBrgb(16, 2, 33)
HSLhsl(267, 89%, 7%)
HSVhsv(267, 94%, 13%)
CMYKcmyk(51.5%, 93.9%, 0%, 87.1%)
CIE-LABlab(2.38, 10.63, -15.85)
CIE-LCHlch(2.38, 19.09, 303.84°)
OKLaboklab(14.65% 0.0348 -0.0569)
OKLCHoklch(14.65% 0.067 301.4)
XYZxyz(0.5098, 0.2634, 1.4625)
Luminance0.0026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100221 #132102
analogous
#020421 #100221 #200221
triadic
#100221 #211002 #022110
tetradic
#100221 #210204 #132102 #022120
square
#100221 #210204 #132102 #022120
split-complementary
#100221 #212002 #042102
monochromatic
#0E021D #0E021D #100221 #2C055B #480994

Accessibility & contrast

On white

19.95
#100221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#100221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100221
19.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100221#FFFFFF#000000##FFFFFF
##1002211.0019.951.0519.95
#FFFFFF19.951.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000822
Deuteranopia (green-blind)
#000920
Tritanopia (blue-blind)
#0C0810
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #100221;
/* rgb */ color: rgb(16, 2, 33);
/* oklch */ color: oklch(14.7% 0.067 301.4);
Tailwind
colors: {
  custom: {
    50: '#4e475c',
    500: '#100221',
    950: '#000000',
  },
}
SCSS
$custom: #100221;
$custom-light: #4e475c;
$custom-dark: #000000;
JSON
{
  "hex": "#100221",
  "rgb": {
    "r": 16,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 267.097,
    "s": 88.571,
    "l": 6.863
  },
  "oklch": {
    "l": 0.14654,
    "c": 0.06669,
    "h": 301.4
  },
  "luminance": 0.00263
}

Semantic roles & 50–950 ramp

primary
#100221
secondary
#436718
accent
#FF299E
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #100221

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

Preview Lab → · Contrast checker → · Palette generator →

#100221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva