#100227#100227

#100227 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.4% C 0.075 H 295.6°. Best body text is #FFFFFF at 19.81:1 contrast (WCAG AA passes).

Color values

HEX#100227
RGBrgb(16, 2, 39)
HSLhsl(263, 90%, 8%)
HSVhsv(263, 95%, 15%)
CMYKcmyk(59%, 94.9%, 0%, 84.7%)
CIE-LABlab(2.71, 12.96, -20.03)
CIE-LCHlch(2.71, 23.85, 302.91°)
OKLaboklab(15.36% 0.0322 -0.0672)
OKLCHoklch(15.36% 0.075 295.6)
XYZxyz(0.6015, 0.3000, 1.9453)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#100227 #192702
analogous
#020627 #100227 #220227
triadic
#100227 #271002 #022710
tetradic
#100227 #270206 #192702 #022722
square
#100227 #270206 #192702 #022722
split-complementary
#100227 #272202 #062702
monochromatic
#0C011D #0C011D #100227 #280561 #40089B

Accessibility & contrast

On white

19.81
#100227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #100227
19.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##100227#FFFFFF#000000##FFFFFF
##1002271.0019.811.0619.81
#FFFFFF19.811.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A28
Deuteranopia (green-blind)
#000926
Tritanopia (blue-blind)
#090A13
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #100227;
/* rgb */ color: rgb(16, 2, 39);
/* oklch */ color: oklch(15.4% 0.075 295.6);
Tailwind
colors: {
  custom: {
    50: '#4f4761',
    500: '#100227',
    950: '#000000',
  },
}
SCSS
$custom: #100227;
$custom-light: #4f4761;
$custom-dark: #000000;
JSON
{
  "hex": "#100227",
  "rgb": {
    "r": 16,
    "g": 2,
    "b": 39
  },
  "hsl": {
    "h": 262.703,
    "s": 90.244,
    "l": 8.039
  },
  "oklch": {
    "l": 0.15364,
    "c": 0.07456,
    "h": 295.6
  },
  "luminance": 0.003
}

Semantic roles & 50–950 ramp

primary
#100227
secondary
#4D6C18
accent
#FF29AE
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020005
muted
#787779

Preview Lab

Preview with #100227

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

Preview Lab → · Contrast checker → · Palette generator →

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