#1A0C19#1A0C19

#1A0C19 is a very dark, muted purple. Relative luminance 0.006; OKLCH L 18.1% C 0.034 H 329.4°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#1A0C19
RGBrgb(26, 12, 25)
HSLhsl(304, 37%, 7%)
HSVhsv(304, 54%, 10%)
CMYKcmyk(0%, 53.8%, 3.8%, 89.8%)
CIE-LABlab(4.99, 8.50, -5.51)
CIE-LCHlch(4.99, 10.13, 327.02°)
OKLaboklab(18.1% 0.0291 -0.0172)
OKLCHoklch(18.1% 0.034 329.4)
XYZxyz(0.7329, 0.5528, 0.9876)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0C19 #0C1A0D
analogous
#140C1A #1A0C19 #1A0C12
triadic
#1A0C19 #191A0C #0C191A
tetradic
#1A0C19 #1A140C #0C1A0D #0C121A
square
#1A0C19 #1A140C #0C1A0D #0C121A
split-complementary
#1A0C19 #121A0C #0C1A14
monochromatic
#150A14 #150A14 #1A0C19 #441F41 #6E336A

Accessibility & contrast

On white

18.91
#1A0C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1A0C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0C19
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0C19#FFFFFF#000000##FFFFFF
##1A0C191.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1019
Deuteranopia (green-blind)
#0F1219
Tritanopia (blue-blind)
#1B0D11
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1a0c19;
/* rgb */ color: rgb(26, 12, 25);
/* oklch */ color: oklch(18.1% 0.034 329.4);
Tailwind
colors: {
  custom: {
    50: '#564c55',
    500: '#1a0c19',
    950: '#000000',
  },
}
SCSS
$custom: #1a0c19;
$custom-light: #564c55;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0c19",
  "rgb": {
    "r": 26,
    "g": 12,
    "b": 25
  },
  "hsl": {
    "h": 304.286,
    "s": 36.842,
    "l": 7.451
  },
  "oklch": {
    "l": 0.18098,
    "c": 0.03383,
    "h": 329.4
  },
  "luminance": 0.00553
}

Semantic roles & 50–950 ramp

primary
#1A0C19
secondary
#305233
accent
#CD635B
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#030103
muted
#787778

Preview Lab

Preview with #1A0C19

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

Preview Lab → · Contrast checker → · Palette generator →

#1A0C19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva