#1D0943#1D0943

#1D0943 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.100 H 291.4°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#1D0943
RGBrgb(29, 9, 67)
HSLhsl(261, 76%, 15%)
HSVhsv(261, 87%, 26%)
CMYKcmyk(56.7%, 86.6%, 0%, 73.7%)
CIE-LABlab(7.78, 26.08, -32.43)
CIE-LCHlch(7.78, 41.62, 308.81°)
OKLaboklab(21.68% 0.0365 -0.0932)
OKLCHoklch(21.68% 0.1 291.4)
XYZxyz(1.6172, 0.8618, 5.3902)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0943 #2F4309
analogous
#091243 #1D0943 #3A0943
triadic
#1D0943 #431D09 #09431D
tetradic
#1D0943 #430912 #2F4309 #09433A
square
#1D0943 #430912 #2F4309 #09433A
split-complementary
#1D0943 #433A09 #124309
monochromatic
#0C041B #0C041B #1D0943 #341079 #4C17AF

Accessibility & contrast

On white

17.91
#1D0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0943
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0943#FFFFFF#000000##FFFFFF
##1D09431.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001642
Tritanopia (blue-blind)
#101926
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d0943;
/* rgb */ color: rgb(29, 9, 67);
/* oklch */ color: oklch(21.7% 0.100 291.4);
Tailwind
colors: {
  custom: {
    50: '#5e4b78',
    500: '#1d0943',
    950: '#000000',
  },
}
SCSS
$custom: #1d0943;
$custom-light: #5e4b78;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0943",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 260.69,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21682,
    "c": 0.10005,
    "h": 291.4
  },
  "luminance": 0.00862
}

Semantic roles & 50–950 ramp

primary
#1D0943
secondary
#628127
accent
#F335B1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0943

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

Preview Lab → · Contrast checker → · Palette generator →

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