#12101A#12101A

#12101A is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.1% C 0.020 H 293.4°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#12101A
RGBrgb(18, 16, 26)
HSLhsl(252, 24%, 8%)
HSVhsv(252, 38%, 10%)
CMYKcmyk(30.8%, 38.5%, 0%, 89.8%)
CIE-LABlab(5.18, 3.11, -6.12)
CIE-LCHlch(5.18, 6.86, 296.92°)
OKLaboklab(18.05% 0.0081 -0.0188)
OKLCHoklch(18.05% 0.02 293.4)
XYZxyz(0.6212, 0.5738, 1.0551)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12101A #181A10
analogous
#10131A #12101A #17101A
triadic
#12101A #1A1210 #101A12
tetradic
#12101A #1A1013 #181A10 #101A17
square
#12101A #1A1013 #181A10 #101A17
split-complementary
#12101A #1A1710 #131A10
monochromatic
#0D0C13 #0D0C13 #12101A #2C2740 #463F66

Accessibility & contrast

On white

18.84
#12101A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#12101A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12101A
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12101A#FFFFFF#000000##FFFFFF
##12101A1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E111A
Deuteranopia (green-blind)
#0E111A
Tritanopia (blue-blind)
#101213
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #12101a;
/* rgb */ color: rgb(18, 16, 26);
/* oklch */ color: oklch(18.1% 0.020 293.4);
Tailwind
colors: {
  custom: {
    50: '#4f4e56',
    500: '#12101a',
    950: '#000000',
  },
}
SCSS
$custom: #12101a;
$custom-light: #4f4e56;
$custom-dark: #000000;
JSON
{
  "hex": "#12101a",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 26
  },
  "hsl": {
    "h": 252,
    "s": 23.81,
    "l": 8.235
  },
  "oklch": {
    "l": 0.18054,
    "c": 0.02049,
    "h": 293.4
  },
  "luminance": 0.00574
}

Semantic roles & 50–950 ramp

primary
#12101A
secondary
#4A4E38
accent
#C068AF
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#020103
muted
#787778

Preview Lab

Preview with #12101A

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

Preview Lab → · Contrast checker → · Palette generator →

#12101A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva