#1A021E#1A021E

#1A021E is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.2% C 0.067 H 322.2°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#1A021E
RGBrgb(26, 2, 30)
HSLhsl(291, 88%, 6%)
HSVhsv(291, 93%, 12%)
CMYKcmyk(13.3%, 93.3%, 0%, 88.2%)
CIE-LABlab(3.22, 14.05, -12.11)
CIE-LCHlch(3.22, 18.54, 319.24°)
OKLaboklab(16.17% 0.053 -0.0411)
OKLCHoklch(16.17% 0.067 322.2)
XYZxyz(0.6820, 0.3568, 1.2610)
Luminance0.0036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A021E #061E02
analogous
#0C021E #1A021E #1E0214
triadic
#1A021E #1E1A02 #021E1A
tetradic
#1A021E #1E0C02 #061E02 #02141E
square
#1A021E #1E0C02 #061E02 #02141E
split-complementary
#1A021E #141E02 #021E0C
monochromatic
#19021D #19021D #1A021E #4C0657 #7D0A91

Accessibility & contrast

On white

19.60
#1A021E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#1A021E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A021E
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A021E#FFFFFF#000000##FFFFFF
##1A021E1.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A1F
Deuteranopia (green-blind)
#040D1D
Tritanopia (blue-blind)
#1A060E
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1a021e;
/* rgb */ color: rgb(26, 2, 30);
/* oklch */ color: oklch(16.2% 0.067 322.2);
Tailwind
colors: {
  custom: {
    50: '#554759',
    500: '#1a021e',
    950: '#000000',
  },
}
SCSS
$custom: #1a021e;
$custom-light: #554759;
$custom-dark: #000000;
JSON
{
  "hex": "#1a021e",
  "rgb": {
    "r": 26,
    "g": 2,
    "b": 30
  },
  "hsl": {
    "h": 291.429,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.16167,
    "c": 0.06711,
    "h": 322.2
  },
  "luminance": 0.00357
}

Semantic roles & 50–950 ramp

primary
#1A021E
secondary
#236418
accent
#FE2A48
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030003
muted
#787778

Preview Lab

Preview with #1A021E

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

Preview Lab → · Contrast checker → · Palette generator →

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