#100421#100421

#100421 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.2% C 0.061 H 299.4°. Best body text is #FFFFFF at 19.79:1 contrast (WCAG AA passes).

Color values

HEX#100421
RGBrgb(16, 4, 33)
HSLhsl(265, 78%, 7%)
HSVhsv(265, 88%, 13%)
CMYKcmyk(51.5%, 87.9%, 0%, 87.1%)
CIE-LABlab(2.77, 9.83, -15.26)
CIE-LCHlch(2.77, 18.15, 302.79°)
OKLaboklab(15.24% 0.0298 -0.0529)
OKLCHoklch(15.24% 0.061 299.4)
XYZxyz(0.5315, 0.3068, 1.4698)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100421 #152104
analogous
#040621 #100421 #1F0421
triadic
#100421 #211004 #042110
tetradic
#100421 #210406 #152104 #04211F
square
#100421 #210406 #152104 #04211F
split-complementary
#100421 #211F04 #062104
monochromatic
#0D031B #0D031B #100421 #2A0B58 #45118E

Accessibility & contrast

On white

19.79
#100421 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#100421 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #100421
19.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100421#FFFFFF#000000##FFFFFF
##1004211.0019.791.0619.79
#FFFFFF19.791.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A22
Deuteranopia (green-blind)
#000A20
Tritanopia (blue-blind)
#0C0A11
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #100421;
/* rgb */ color: rgb(16, 4, 33);
/* oklch */ color: oklch(15.2% 0.061 299.4);
Tailwind
colors: {
  custom: {
    50: '#4e485c',
    500: '#100421',
    950: '#000000',
  },
}
SCSS
$custom: #100421;
$custom-light: #4e485c;
$custom-dark: #000000;
JSON
{
  "hex": "#100421",
  "rgb": {
    "r": 16,
    "g": 4,
    "b": 33
  },
  "hsl": {
    "h": 264.828,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.15243,
    "c": 0.06078,
    "h": 299.4
  },
  "luminance": 0.00307
}

Semantic roles & 50–950 ramp

primary
#100421
secondary
#46641D
accent
#F533A5
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #100421

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

Preview Lab → · Contrast checker → · Palette generator →

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