#1D0844#1D0844

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

Color values

HEX#1D0844
RGBrgb(29, 8, 68)
HSLhsl(261, 79%, 15%)
HSVhsv(261, 88%, 27%)
CMYKcmyk(57.4%, 88.2%, 0%, 73.3%)
CIE-LABlab(7.70, 26.97, -33.28)
CIE-LCHlch(7.70, 42.83, 309.02°)
OKLaboklab(21.65% 0.0371 -0.0956)
OKLCHoklch(21.65% 0.103 291.2)
XYZxyz(1.6366, 0.8522, 5.5460)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0844 #2F4408
analogous
#081144 #1D0844 #3B0844
triadic
#1D0844 #441D08 #08441D
tetradic
#1D0844 #440811 #2F4408 #08443B
square
#1D0844 #440811 #2F4408 #08443B
split-complementary
#1D0844 #443B08 #114408
monochromatic
#0C031B #0C031B #1D0844 #340E7B #4C15B2

Accessibility & contrast

On white

17.94
#1D0844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0844
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0844#FFFFFF#000000##FFFFFF
##1D08441.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d0844;
/* rgb */ color: rgb(29, 8, 68);
/* oklch */ color: oklch(21.7% 0.103 291.2);
Tailwind
colors: {
  custom: {
    50: '#5f4a79',
    500: '#1d0844',
    950: '#000000',
  },
}
SCSS
$custom: #1d0844;
$custom-light: #5f4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0844",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 261,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21654,
    "c": 0.10259,
    "h": 291.2
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#1D0844
secondary
#628226
accent
#F532B1
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0844

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

Preview Lab → · Contrast checker → · Palette generator →

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