#1A031F#1A031F

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

Color values

HEX#1A031F
RGBrgb(26, 3, 31)
HSLhsl(289, 82%, 7%)
HSVhsv(289, 90%, 12%)
CMYKcmyk(16.1%, 90.3%, 0%, 87.8%)
CIE-LABlab(3.47, 13.98, -12.53)
CIE-LCHlch(3.47, 18.77, 318.12°)
OKLaboklab(16.5% 0.0502 -0.0414)
OKLCHoklch(16.5% 0.065 320.5)
XYZxyz(0.7059, 0.3837, 1.3329)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A031F #081F03
analogous
#0C031F #1A031F #1F0316
triadic
#1A031F #1F1A03 #031F1A
tetradic
#1A031F #1F0C03 #081F03 #03161F
square
#1A031F #1F0C03 #081F03 #03161F
split-complementary
#1A031F #161F03 #031F0C
monochromatic
#17031C #17031C #1A031F #490857 #780E8F

Accessibility & contrast

On white

19.50
#1A031F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1A031F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A031F
19.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A031F#FFFFFF#000000##FFFFFF
##1A031F1.0019.501.0819.50
#FFFFFF19.501.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B20
Deuteranopia (green-blind)
#050D1E
Tritanopia (blue-blind)
#1A070F
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1a031f;
/* rgb */ color: rgb(26, 3, 31);
/* oklch */ color: oklch(16.5% 0.065 320.5);
Tailwind
colors: {
  custom: {
    50: '#56485a',
    500: '#1a031f',
    950: '#000000',
  },
}
SCSS
$custom: #1a031f;
$custom-light: #56485a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a031f",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 31
  },
  "hsl": {
    "h": 289.286,
    "s": 82.353,
    "l": 6.667
  },
  "oklch": {
    "l": 0.16502,
    "c": 0.0651,
    "h": 320.5
  },
  "luminance": 0.00384
}

Semantic roles & 50–950 ramp

primary
#1A031F
secondary
#28631B
accent
#F92F53
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#030004
muted
#787779

Preview Lab

Preview with #1A031F

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

Preview Lab → · Contrast checker → · Palette generator →

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