#100B21#100B21

#100B21 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 17.0% C 0.045 H 291.4°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#100B21
RGBrgb(16, 11, 33)
HSLhsl(254, 50%, 9%)
HSVhsv(254, 67%, 13%)
CMYKcmyk(51.5%, 66.7%, 0%, 87.1%)
CIE-LABlab(4.15, 7.01, -13.15)
CIE-LCHlch(4.15, 14.91, 298.07°)
OKLaboklab(17.02% 0.0163 -0.0415)
OKLCHoklch(17.02% 0.045 291.4)
XYZxyz(0.6078, 0.4593, 1.4952)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100B21 #1C210B
analogous
#0B1121 #100B21 #1B0B21
triadic
#100B21 #21100B #0B2110
tetradic
#100B21 #210B11 #1C210B #0B211B
square
#100B21 #210B11 #1C210B #0B211B
split-complementary
#100B21 #211B0B #11210B
monochromatic
#0B0817 #0B0817 #100B21 #261A4F #3D2A7D

Accessibility & contrast

On white

19.23
#100B21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#100B21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100B21
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100B21#FFFFFF#000000##FFFFFF
##100B211.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040F22
Deuteranopia (green-blind)
#040E20
Tritanopia (blue-blind)
#0C0F14
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #100b21;
/* rgb */ color: rgb(16, 11, 33);
/* oklch */ color: oklch(17.0% 0.045 291.4);
Tailwind
colors: {
  custom: {
    50: '#4e4b5c',
    500: '#100b21',
    950: '#000000',
  },
}
SCSS
$custom: #100b21;
$custom-light: #4e4b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#100b21",
  "rgb": {
    "r": 16,
    "g": 11,
    "b": 33
  },
  "hsl": {
    "h": 253.636,
    "s": 50,
    "l": 8.627
  },
  "oklch": {
    "l": 0.17017,
    "c": 0.04454,
    "h": 291.4
  },
  "luminance": 0.00459
}

Semantic roles & 50–950 ramp

primary
#100B21
secondary
#515C2C
accent
#DA4EBA
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #100B21

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

Preview Lab → · Contrast checker → · Palette generator →

#100B21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva