#1A0027#1A0027

#1A0027 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.5% C 0.083 H 312.4°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#1A0027
RGBrgb(26, 0, 39)
HSLhsl(280, 100%, 8%)
HSVhsv(280, 100%, 15%)
CMYKcmyk(33.3%, 100%, 0%, 84.7%)
CIE-LABlab(3.31, 18.19, -19.02)
CIE-LCHlch(3.31, 26.32, 313.73°)
OKLaboklab(16.55% 0.0557 -0.061)
OKLCHoklch(16.55% 0.083 312.4)
XYZxyz(0.7921, 0.3661, 1.9480)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0027 #0D2700
analogous
#060027 #1A0027 #270020
triadic
#1A0027 #271A00 #00271A
tetradic
#1A0027 #270600 #0D2700 #002027
square
#1A0027 #270600 #0D2700 #002027
split-complementary
#1A0027 #202700 #002706
monochromatic
#14001F #14001F #1A0027 #430064 #6C00A1

Accessibility & contrast

On white

19.57
#1A0027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0027
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0027#FFFFFF#000000##FFFFFF
##1A00271.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B28
Deuteranopia (green-blind)
#000D26
Tritanopia (blue-blind)
#180712
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1a0027;
/* rgb */ color: rgb(26, 0, 39);
/* oklch */ color: oklch(16.5% 0.083 312.4);
Tailwind
colors: {
  custom: {
    50: '#564661',
    500: '#1a0027',
    950: '#000000',
  },
}
SCSS
$custom: #1a0027;
$custom-light: #564661;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0027",
  "rgb": {
    "r": 26,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 280,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16545,
    "c": 0.08262,
    "h": 312.4
  },
  "luminance": 0.00366
}

Semantic roles & 50–950 ramp

primary
#1A0027
secondary
#326F14
accent
#FF2970
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#030005
muted
#787779

Preview Lab

Preview with #1A0027

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

Preview Lab → · Contrast checker → · Palette generator →

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