#1F092B#1F092B

#1F092B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.6% C 0.068 H 311.5°. Best body text is #FFFFFF at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#1F092B
RGBrgb(31, 9, 43)
HSLhsl(279, 65%, 10%)
HSVhsv(279, 79%, 17%)
CMYKcmyk(27.9%, 79.1%, 0%, 83.1%)
CIE-LABlab(5.97, 18.35, -17.84)
CIE-LCHlch(5.97, 25.59, 315.80°)
OKLaboklab(19.6% 0.0454 -0.0512)
OKLCHoklch(19.6% 0.068 311.5)
XYZxyz(1.0987, 0.6611, 2.3548)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F092B #152B09
analogous
#0E092B #1F092B #2B0926
triadic
#1F092B #2B1F09 #092B1F
tetradic
#1F092B #2B0E09 #152B09 #09262B
square
#1F092B #2B0E09 #152B09 #09262B
split-complementary
#1F092B #262B09 #092B0E
monochromatic
#120519 #120519 #1F092B #43145E #681E90

Accessibility & contrast

On white

18.55
#1F092B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F092B
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F092B#FFFFFF#000000##FFFFFF
##1F092B1.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#06142A
Tritanopia (blue-blind)
#1E1018
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1f092b;
/* rgb */ color: rgb(31, 9, 43);
/* oklch */ color: oklch(19.6% 0.068 311.5);
Tailwind
colors: {
  custom: {
    50: '#5c4a64',
    500: '#1f092b',
    950: '#000000',
  },
}
SCSS
$custom: #1f092b;
$custom-light: #5c4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#1f092b",
  "rgb": {
    "r": 31,
    "g": 9,
    "b": 43
  },
  "hsl": {
    "h": 278.824,
    "s": 65.385,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19601,
    "c": 0.06843,
    "h": 311.5
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#1F092B
secondary
#3E6927
accent
#E83F7B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #1F092B

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

Preview Lab → · Contrast checker → · Palette generator →

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