#1F092F#1F092F

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

Color values

HEX#1F092F
RGBrgb(31, 9, 47)
HSLhsl(275, 68%, 11%)
HSVhsv(275, 81%, 18%)
CMYKcmyk(34%, 80.9%, 0%, 81.6%)
CIE-LABlab(6.25, 19.73, -20.39)
CIE-LCHlch(6.25, 28.37, 314.06°)
OKLaboklab(19.95% 0.045 -0.0584)
OKLCHoklch(19.95% 0.074 307.6)
XYZxyz(1.1757, 0.6919, 2.7604)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F092F #192F09
analogous
#0C092F #1F092F #2F092C
triadic
#1F092F #2F1F09 #092F1F
tetradic
#1F092F #2F0C09 #192F09 #092C2F
square
#1F092F #2F0C09 #192F09 #092C2F
split-complementary
#1F092F #2C2F09 #092F0C
monochromatic
#11051A #11051A #1F092F #411362 #631D96

Accessibility & contrast

On white

18.45
#1F092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F092F
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F092F#FFFFFF#000000##FFFFFF
##1F092F1.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#1C111A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1f092f;
/* rgb */ color: rgb(31, 9, 47);
/* oklch */ color: oklch(19.9% 0.074 307.6);
Tailwind
colors: {
  custom: {
    50: '#5c4a68',
    500: '#1f092f',
    950: '#000000',
  },
}
SCSS
$custom: #1f092f;
$custom-light: #5c4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f092f",
  "rgb": {
    "r": 31,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 274.737,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.19947,
    "c": 0.07376,
    "h": 307.6
  },
  "luminance": 0.00692
}

Semantic roles & 50–950 ramp

primary
#1F092F
secondary
#446D27
accent
#EB3D86
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1F092F

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

Preview Lab → · Contrast checker → · Palette generator →

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