#1D0944#1D0944

#1D0944 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.101 H 290.9°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#1D0944
RGBrgb(29, 9, 68)
HSLhsl(260, 77%, 15%)
HSVhsv(260, 87%, 27%)
CMYKcmyk(57.4%, 86.8%, 0%, 73.3%)
CIE-LABlab(7.89, 26.41, -32.96)
CIE-LCHlch(7.89, 42.23, 308.71°)
OKLaboklab(21.79% 0.0362 -0.0947)
OKLCHoklch(21.79% 0.101 290.9)
XYZxyz(1.6475, 0.8739, 5.5496)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0944 #304409
analogous
#091344 #1D0944 #3A0944
triadic
#1D0944 #441D09 #09441D
tetradic
#1D0944 #440913 #304409 #09443A
square
#1D0944 #440913 #304409 #09443A
split-complementary
#1D0944 #443A09 #134409
monochromatic
#0C041B #0C041B #1D0944 #34107A #4B17B0

Accessibility & contrast

On white

17.88
#1D0944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1D0944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0944
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0944#FFFFFF#000000##FFFFFF
##1D09441.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001643
Tritanopia (blue-blind)
#0F1A26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d0944;
/* rgb */ color: rgb(29, 9, 68);
/* oklch */ color: oklch(21.8% 0.101 290.9);
Tailwind
colors: {
  custom: {
    50: '#5f4b79',
    500: '#1d0944',
    950: '#000000',
  },
}
SCSS
$custom: #1d0944;
$custom-light: #5f4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0944",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 260.339,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21793,
    "c": 0.10137,
    "h": 290.9
  },
  "luminance": 0.00874
}

Semantic roles & 50–950 ramp

primary
#1D0944
secondary
#638227
accent
#F335B3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0944

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

Preview Lab → · Contrast checker → · Palette generator →

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