#1D0841#1D0841

#1D0841 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.099 H 292.8°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#1D0841
RGBrgb(29, 8, 65)
HSLhsl(262, 78%, 14%)
HSVhsv(262, 88%, 25%)
CMYKcmyk(55.4%, 87.7%, 0%, 74.5%)
CIE-LABlab(7.38, 25.97, -31.68)
CIE-LCHlch(7.38, 40.96, 309.34°)
OKLaboklab(21.32% 0.0382 -0.091)
OKLCHoklch(21.32% 0.099 292.8)
XYZxyz(1.5474, 0.8165, 5.0761)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0841 #2C4108
analogous
#081041 #1D0841 #3A0841
triadic
#1D0841 #411D08 #08411D
tetradic
#1D0841 #410810 #2C4108 #08413A
square
#1D0841 #410810 #2C4108 #08413A
split-complementary
#1D0841 #413A08 #104108
monochromatic
#0C031B #0C031B #1D0841 #350F77 #4E15AE

Accessibility & contrast

On white

18.05
#1D0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1D0841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0841
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0841#FFFFFF#000000##FFFFFF
##1D08411.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#111824
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1d0841;
/* rgb */ color: rgb(29, 8, 65);
/* oklch */ color: oklch(21.3% 0.099 292.8);
Tailwind
colors: {
  custom: {
    50: '#5e4a76',
    500: '#1d0841',
    950: '#000000',
  },
}
SCSS
$custom: #1d0841;
$custom-light: #5e4a76;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0841",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 262.105,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.21318,
    "c": 0.09871,
    "h": 292.8
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#1D0841
secondary
#5E7F25
accent
#F533AD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D0841

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

Preview Lab → · Contrast checker → · Palette generator →

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