#1D0A41#1D0A41

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

Color values

HEX#1D0A41
RGBrgb(29, 10, 65)
HSLhsl(261, 73%, 15%)
HSVhsv(261, 85%, 25%)
CMYKcmyk(55.4%, 84.6%, 0%, 74.5%)
CIE-LABlab(7.77, 24.87, -31.04)
CIE-LCHlch(7.77, 39.77, 308.70°)
OKLaboklab(21.6% 0.0362 -0.0891)
OKLCHoklch(21.6% 0.096 292.1)
XYZxyz(1.5691, 0.8599, 5.0833)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0A41 #2E410A
analogous
#0A1341 #1D0A41 #390A41
triadic
#1D0A41 #411D0A #0A411D
tetradic
#1D0A41 #410A13 #2E410A #0A4139
square
#1D0A41 #410A13 #2E410A #0A4139
split-complementary
#1D0A41 #41390A #13410A
monochromatic
#0C041B #0C041B #1D0A41 #351276 #4C1AAB

Accessibility & contrast

On white

17.92
#1D0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0A41
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0A41#FFFFFF#000000##FFFFFF
##1D0A411.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d0a41;
/* rgb */ color: rgb(29, 10, 65);
/* oklch */ color: oklch(21.6% 0.096 292.1);
Tailwind
colors: {
  custom: {
    50: '#5e4b76',
    500: '#1d0a41',
    950: '#000000',
  },
}
SCSS
$custom: #1d0a41;
$custom-light: #5e4b76;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0a41",
  "rgb": {
    "r": 29,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 260.727,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21603,
    "c": 0.09614,
    "h": 292.1
  },
  "luminance": 0.0086
}

Semantic roles & 50–950 ramp

primary
#1D0A41
secondary
#617E29
accent
#F038B0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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