#1F093B#1F093B

#1F093B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.090 H 298.3°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#1F093B
RGBrgb(31, 9, 59)
HSLhsl(266, 74%, 13%)
HSVhsv(266, 85%, 23%)
CMYKcmyk(47.5%, 84.7%, 0%, 76.9%)
CIE-LABlab(7.25, 23.86, -27.57)
CIE-LCHlch(7.25, 36.46, 310.87°)
OKLaboklab(21.09% 0.0426 -0.079)
OKLCHoklch(21.09% 0.09 298.3)
XYZxyz(1.4520, 0.8024, 4.2152)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F093B #253B09
analogous
#090C3B #1F093B #38093B
triadic
#1F093B #3B1F09 #093B1F
tetradic
#1F093B #3B090C #253B09 #093B38
square
#1F093B #3B090C #253B09 #093B38
split-complementary
#1F093B #3B3809 #0C3B09
monochromatic
#0E041B #0E041B #1F093B #3B1170 #5719A5

Accessibility & contrast

On white

18.10
#1F093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1F093B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F093B
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F093B#FFFFFF#000000##FFFFFF
##1F093B1.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#181621
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1f093b;
/* rgb */ color: rgb(31, 9, 59);
/* oklch */ color: oklch(21.1% 0.090 298.3);
Tailwind
colors: {
  custom: {
    50: '#5e4a71',
    500: '#1f093b',
    950: '#000000',
  },
}
SCSS
$custom: #1f093b;
$custom-light: #5e4a71;
$custom-dark: #000000;
JSON
{
  "hex": "#1f093b",
  "rgb": {
    "r": 31,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 266.4,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21094,
    "c": 0.08969,
    "h": 298.3
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#1F093B
secondary
#557927
accent
#F0389F
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #1F093B

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

Preview Lab → · Contrast checker → · Palette generator →

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