#1A0026#1A0026

#1A0026 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.4% C 0.082 H 313.5°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#1A0026
RGBrgb(26, 0, 38)
HSLhsl(281, 100%, 7%)
HSVhsv(281, 100%, 15%)
CMYKcmyk(31.6%, 100%, 0%, 85.1%)
CIE-LABlab(3.25, 17.78, -18.34)
CIE-LCHlch(3.25, 25.54, 314.11°)
OKLaboklab(16.44% 0.0562 -0.0592)
OKLCHoklch(16.44% 0.082 313.5)
XYZxyz(0.7758, 0.3596, 1.8619)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0026 #0C2600
analogous
#070026 #1A0026 #26001F
triadic
#1A0026 #261A00 #00261A
tetradic
#1A0026 #260700 #0C2600 #001F26
square
#1A0026 #260700 #0C2600 #001F26
split-complementary
#1A0026 #1F2600 #002607
monochromatic
#15001F #15001F #1A0026 #440063 #6E00A0

Accessibility & contrast

On white

19.59
#1A0026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0026
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0026#FFFFFF#000000##FFFFFF
##1A00261.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A27
Deuteranopia (green-blind)
#000C25
Tritanopia (blue-blind)
#190712
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1a0026;
/* rgb */ color: rgb(26, 0, 38);
/* oklch */ color: oklch(16.4% 0.082 313.5);
Tailwind
colors: {
  custom: {
    50: '#564660',
    500: '#1a0026',
    950: '#000000',
  },
}
SCSS
$custom: #1a0026;
$custom-light: #564660;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0026",
  "rgb": {
    "r": 26,
    "g": 0,
    "b": 38
  },
  "hsl": {
    "h": 281.053,
    "s": 100,
    "l": 7.451
  },
  "oklch": {
    "l": 0.16439,
    "c": 0.08163,
    "h": 313.5
  },
  "luminance": 0.0036
}

Semantic roles & 50–950 ramp

primary
#1A0026
secondary
#306E13
accent
#FF296C
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#030005
muted
#787779

Preview Lab

Preview with #1A0026

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

Preview Lab → · Contrast checker → · Palette generator →

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