#1F001A#1F001A

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

Color values

HEX#1F001A
RGBrgb(31, 0, 26)
HSLhsl(310, 100%, 6%)
HSVhsv(310, 100%, 12%)
CMYKcmyk(0%, 100%, 16.1%, 87.8%)
CIE-LABlab(3.31, 16.53, -8.71)
CIE-LCHlch(3.31, 18.69, 332.22°)
OKLaboklab(16.39% 0.0661 -0.0307)
OKLCHoklch(16.39% 0.073 335.1)
XYZxyz(0.7515, 0.3660, 1.0081)
Luminance0.0037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F001A #001F05
analogous
#14001F #1F001A #1F000A
triadic
#1F001A #1A1F00 #001A1F
tetradic
#1F001A #1F1400 #001F05 #000A1F
square
#1F001A #1F1400 #001F05 #000A1F
split-complementary
#1F001A #0A1F00 #001F14
monochromatic
#1F001A #1F001A #1F001A #5C004D #990081

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F001A#FFFFFF#000000##FFFFFF
##1F001A1.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)
#00091B
Deuteranopia (green-blind)
#090E19
Tritanopia (blue-blind)
#21010B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1f001a;
/* rgb */ color: rgb(31, 0, 26);
/* oklch */ color: oklch(16.4% 0.073 335.1);
Tailwind
colors: {
  custom: {
    50: '#5a4656',
    500: '#1f001a',
    950: '#000000',
  },
}
SCSS
$custom: #1f001a;
$custom-light: #5a4656;
$custom-dark: #000000;
JSON
{
  "hex": "#1f001a",
  "rgb": {
    "r": 31,
    "g": 0,
    "b": 26
  },
  "hsl": {
    "h": 309.677,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.16393,
    "c": 0.07286,
    "h": 335.1
  },
  "luminance": 0.00366
}

Semantic roles & 50–950 ramp

primary
#1F001A
secondary
#126820
accent
#FF4B29
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040003
muted
#797778

Preview Lab

Preview with #1F001A

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

Preview Lab → · Contrast checker → · Palette generator →

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