#1D0942#1D0942

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

Color values

HEX#1D0942
RGBrgb(29, 9, 66)
HSLhsl(261, 76%, 15%)
HSVhsv(261, 86%, 26%)
CMYKcmyk(56.1%, 86.4%, 0%, 74.1%)
CIE-LABlab(7.68, 25.75, -31.90)
CIE-LCHlch(7.68, 40.99, 308.92°)
OKLaboklab(21.57% 0.0368 -0.0916)
OKLCHoklch(21.57% 0.099 291.9)
XYZxyz(1.5875, 0.8499, 5.2336)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0942 #2E4209
analogous
#091142 #1D0942 #3A0942
triadic
#1D0942 #421D09 #09421D
tetradic
#1D0942 #420911 #2E4209 #09423A
square
#1D0942 #420911 #2E4209 #09423A
split-complementary
#1D0942 #423A09 #114209
monochromatic
#0C041B #0C041B #1D0942 #351078 #4C18AE

Accessibility & contrast

On white

17.95
#1D0942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0942
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0942#FFFFFF#000000##FFFFFF
##1D09421.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001641
Tritanopia (blue-blind)
#111925
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d0942;
/* rgb */ color: rgb(29, 9, 66);
/* oklch */ color: oklch(21.6% 0.099 291.9);
Tailwind
colors: {
  custom: {
    50: '#5e4b77',
    500: '#1d0942',
    950: '#000000',
  },
}
SCSS
$custom: #1d0942;
$custom-light: #5e4b77;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0942",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 261.053,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21571,
    "c": 0.09874,
    "h": 291.9
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

primary
#1D0942
secondary
#618027
accent
#F335B0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0942

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

Preview Lab → · Contrast checker → · Palette generator →

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