#1F094A#1F094A

#1F094A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.109 H 290.2°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#1F094A
RGBrgb(31, 9, 74)
HSLhsl(260, 78%, 16%)
HSVhsv(260, 88%, 29%)
CMYKcmyk(58.1%, 87.8%, 0%, 71%)
CIE-LABlab(8.83, 28.63, -35.62)
CIE-LCHlch(8.83, 45.69, 308.79°)
OKLaboklab(22.71% 0.0376 -0.1024)
OKLCHoklch(22.71% 0.109 290.2)
XYZxyz(1.8984, 0.9810, 6.5666)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F094A #344A09
analogous
#09144A #1F094A #40094A
triadic
#1F094A #4A1F09 #094A1F
tetradic
#1F094A #4A0914 #344A09 #094A40
square
#1F094A #4A0914 #344A09 #094A40
split-complementary
#1F094A #4A4009 #144A09
monochromatic
#0B031B #0B031B #1F094A #361081 #4D16B7

Accessibility & contrast

On white

17.56
#1F094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1F094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F094A
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F094A#FFFFFF#000000##FFFFFF
##1F094A1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#0F1C2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1f094a;
/* rgb */ color: rgb(31, 9, 74);
/* oklch */ color: oklch(22.7% 0.109 290.2);
Tailwind
colors: {
  custom: {
    50: '#614b7d',
    500: '#1f094a',
    950: '#000000',
  },
}
SCSS
$custom: #1f094a;
$custom-light: #614b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f094a",
  "rgb": {
    "r": 31,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 260.308,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22712,
    "c": 0.10908,
    "h": 290.2
  },
  "luminance": 0.00981
}

Semantic roles & 50–950 ramp

primary
#1F094A
secondary
#678727
accent
#F533B3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #1F094A

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

Preview Lab → · Contrast checker → · Palette generator →

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