#1F0B44#1F0B44

#1F0B44 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.099 H 292.5°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#1F0B44
RGBrgb(31, 11, 68)
HSLhsl(261, 72%, 15%)
HSVhsv(261, 84%, 27%)
CMYKcmyk(54.4%, 83.8%, 0%, 73.3%)
CIE-LABlab(8.55, 25.65, -31.87)
CIE-LCHlch(8.55, 40.91, 308.83°)
OKLaboklab(22.32% 0.0378 -0.0914)
OKLCHoklch(22.32% 0.099 292.5)
XYZxyz(1.7278, 0.9479, 5.5597)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0B44 #30440B
analogous
#0B1344 #1F0B44 #3B0B44
triadic
#1F0B44 #441F0B #0B441F
tetradic
#1F0B44 #440B13 #30440B #0B443B
square
#1F0B44 #440B13 #30440B #0B443B
split-complementary
#1F0B44 #443B0B #13440B
monochromatic
#0C041A #0C041A #1F0B44 #371479 #4F1CAD

Accessibility & contrast

On white

17.65
#1F0B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1F0B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0B44
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0B44#FFFFFF#000000##FFFFFF
##1F0B441.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001946
Deuteranopia (green-blind)
#001743
Tritanopia (blue-blind)
#131A27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1f0b44;
/* rgb */ color: rgb(31, 11, 68);
/* oklch */ color: oklch(22.3% 0.099 292.5);
Tailwind
colors: {
  custom: {
    50: '#604c78',
    500: '#1f0b44',
    950: '#000000',
  },
}
SCSS
$custom: #1f0b44;
$custom-light: #604c78;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0b44",
  "rgb": {
    "r": 31,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 261.053,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22315,
    "c": 0.09896,
    "h": 292.5
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#1F0B44
secondary
#62812A
accent
#EF39AF
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1F0B44

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

Preview Lab → · Contrast checker → · Palette generator →

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