#1D0D41#1D0D41

#1D0D41 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.092 H 291.0°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#1D0D41
RGBrgb(29, 13, 65)
HSLhsl(258, 67%, 15%)
HSVhsv(258, 80%, 25%)
CMYKcmyk(55.4%, 80%, 0%, 74.5%)
CIE-LABlab(8.40, 23.09, -30.00)
CIE-LCHlch(8.40, 37.86, 307.58°)
OKLaboklab(22.05% 0.033 -0.0861)
OKLCHoklch(22.05% 0.092 291)
XYZxyz(1.6045, 0.9307, 5.0951)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0D41 #31410D
analogous
#0D1741 #1D0D41 #370D41
triadic
#1D0D41 #411D0D #0D411D
tetradic
#1D0D41 #410D17 #31410D #0D4137
square
#1D0D41 #410D17 #31410D #0D4137
split-complementary
#1D0D41 #41370D #17410D
monochromatic
#0B051A #0B051A #1D0D41 #341774 #4B21A7

Accessibility & contrast

On white

17.70
#1D0D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1D0D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0D41
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0D41#FFFFFF#000000##FFFFFF
##1D0D411.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#111A25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1d0d41;
/* rgb */ color: rgb(29, 13, 65);
/* oklch */ color: oklch(22.1% 0.092 291.0);
Tailwind
colors: {
  custom: {
    50: '#5e4d76',
    500: '#1d0d41',
    950: '#000000',
  },
}
SCSS
$custom: #1d0d41;
$custom-light: #5e4d76;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0d41",
  "rgb": {
    "r": 29,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 258.462,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22052,
    "c": 0.09217,
    "h": 291
  },
  "luminance": 0.00931
}

Semantic roles & 50–950 ramp

primary
#1D0D41
secondary
#647D2D
accent
#EA3EB5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D0D41

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

Preview Lab → · Contrast checker → · Palette generator →

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