#100226#100226

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

Color values

HEX#100226
RGBrgb(16, 2, 38)
HSLhsl(263, 90%, 8%)
HSVhsv(263, 95%, 15%)
CMYKcmyk(57.9%, 94.7%, 0%, 85.1%)
CIE-LABlab(2.65, 12.54, -19.34)
CIE-LCHlch(2.65, 23.06, 302.96°)
OKLaboklab(15.24% 0.0327 -0.0655)
OKLCHoklch(15.24% 0.073 296.5)
XYZxyz(0.5852, 0.2935, 1.8592)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100226 #182602
analogous
#020626 #100226 #220226
triadic
#100226 #261002 #022610
tetradic
#100226 #260206 #182602 #022622
square
#100226 #260206 #182602 #022622
split-complementary
#100226 #262202 #062602
monochromatic
#0C021D #0C021D #100226 #280560 #41089A

Accessibility & contrast

On white

19.83
#100226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #100226
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100226#FFFFFF#000000##FFFFFF
##1002261.0019.831.0619.83
#FFFFFF19.831.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A27
Deuteranopia (green-blind)
#000925
Tritanopia (blue-blind)
#0A0A13
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #100226;
/* rgb */ color: rgb(16, 2, 38);
/* oklch */ color: oklch(15.2% 0.073 296.5);
Tailwind
colors: {
  custom: {
    50: '#4e4760',
    500: '#100226',
    950: '#000000',
  },
}
SCSS
$custom: #100226;
$custom-light: #4e4760;
$custom-dark: #000000;
JSON
{
  "hex": "#100226",
  "rgb": {
    "r": 16,
    "g": 2,
    "b": 38
  },
  "hsl": {
    "h": 263.333,
    "s": 90,
    "l": 7.843
  },
  "oklch": {
    "l": 0.15242,
    "c": 0.07324,
    "h": 296.5
  },
  "luminance": 0.00294
}

Semantic roles & 50–950 ramp

primary
#100226
secondary
#4B6B18
accent
#FF29AC
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020005
muted
#787779

Preview Lab

Preview with #100226

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

Preview Lab → · Contrast checker → · Palette generator →

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