#1F092E#1F092E

#1F092E is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.072 H 308.5°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#1F092E
RGBrgb(31, 9, 46)
HSLhsl(276, 67%, 11%)
HSVhsv(276, 80%, 18%)
CMYKcmyk(32.6%, 80.4%, 0%, 82%)
CIE-LABlab(6.18, 19.38, -19.76)
CIE-LCHlch(6.18, 27.68, 314.45°)
OKLaboklab(19.86% 0.0451 -0.0567)
OKLCHoklch(19.86% 0.072 308.5)
XYZxyz(1.1558, 0.6840, 2.6554)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F092E #182E09
analogous
#0C092E #1F092E #2E092A
triadic
#1F092E #2E1F09 #092E1F
tetradic
#1F092E #2E0C09 #182E09 #092A2E
square
#1F092E #2E0C09 #182E09 #092A2E
split-complementary
#1F092E #2A2E09 #092E0C
monochromatic
#11051A #11051A #1F092E #411361 #641D94

Accessibility & contrast

On white

18.47
#1F092E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1F092E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F092E
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F092E#FFFFFF#000000##FFFFFF
##1F092E1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#1D111A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1f092e;
/* rgb */ color: rgb(31, 9, 46);
/* oklch */ color: oklch(19.9% 0.072 308.5);
Tailwind
colors: {
  custom: {
    50: '#5c4a67',
    500: '#1f092e',
    950: '#000000',
  },
}
SCSS
$custom: #1f092e;
$custom-light: #5c4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f092e",
  "rgb": {
    "r": 31,
    "g": 9,
    "b": 46
  },
  "hsl": {
    "h": 275.676,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19859,
    "c": 0.07242,
    "h": 308.5
  },
  "luminance": 0.00684
}

Semantic roles & 50–950 ramp

primary
#1F092E
secondary
#436C27
accent
#EA3E84
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1F092E

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

Preview Lab → · Contrast checker → · Palette generator →

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