#1F092A#1F092A

#1F092A is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 19.5% C 0.067 H 312.6°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#1F092A
RGBrgb(31, 9, 42)
HSLhsl(280, 65%, 10%)
HSVhsv(280, 79%, 16%)
CMYKcmyk(26.2%, 78.6%, 0%, 83.5%)
CIE-LABlab(5.91, 18.00, -17.19)
CIE-LCHlch(5.91, 24.89, 316.33°)
OKLaboklab(19.52% 0.0454 -0.0494)
OKLCHoklch(19.52% 0.067 312.6)
XYZxyz(1.0806, 0.6539, 2.2593)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F092A #142A09
analogous
#0E092A #1F092A #2A0925
triadic
#1F092A #2A1F09 #092A1F
tetradic
#1F092A #2A0E09 #142A09 #09252A
square
#1F092A #2A0E09 #142A09 #09252A
split-complementary
#1F092A #252A09 #092A0E
monochromatic
#130519 #130519 #1F092A #44145C #691F8F

Accessibility & contrast

On white

18.57
#1F092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1F092A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F092A
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F092A#FFFFFF#000000##FFFFFF
##1F092A1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01122B
Deuteranopia (green-blind)
#071429
Tritanopia (blue-blind)
#1E0F18
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1f092a;
/* rgb */ color: rgb(31, 9, 42);
/* oklch */ color: oklch(19.5% 0.067 312.6);
Tailwind
colors: {
  custom: {
    50: '#5c4a63',
    500: '#1f092a',
    950: '#000000',
  },
}
SCSS
$custom: #1f092a;
$custom-light: #5c4a63;
$custom-dark: #000000;
JSON
{
  "hex": "#1f092a",
  "rgb": {
    "r": 31,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 280,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.19518,
    "c": 0.06709,
    "h": 312.6
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#1F092A
secondary
#3D6827
accent
#E84078
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #1F092A

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

Preview Lab → · Contrast checker → · Palette generator →

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