#1D0A42#1D0A42

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

Color values

HEX#1D0A42
RGBrgb(29, 10, 66)
HSLhsl(260, 74%, 15%)
HSVhsv(260, 85%, 26%)
CMYKcmyk(56.1%, 84.8%, 0%, 74.1%)
CIE-LABlab(7.87, 25.20, -31.57)
CIE-LCHlch(7.87, 40.40, 308.59°)
OKLaboklab(21.71% 0.0359 -0.0907)
OKLCHoklch(21.71% 0.097 291.6)
XYZxyz(1.5983, 0.8716, 5.2372)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0A42 #2F420A
analogous
#0A1342 #1D0A42 #390A42
triadic
#1D0A42 #421D0A #0A421D
tetradic
#1D0A42 #420A13 #2F420A #0A4239
square
#1D0A42 #420A13 #2F420A #0A4239
split-complementary
#1D0A42 #42390A #13420A
monochromatic
#0C041B #0C041B #1D0A42 #341277 #4C1AAC

Accessibility & contrast

On white

17.88
#1D0A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0A42
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0A42#FFFFFF#000000##FFFFFF
##1D0A421.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d0a42;
/* rgb */ color: rgb(29, 10, 66);
/* oklch */ color: oklch(21.7% 0.097 291.6);
Tailwind
colors: {
  custom: {
    50: '#5e4b77',
    500: '#1d0a42',
    950: '#000000',
  },
}
SCSS
$custom: #1d0a42;
$custom-light: #5e4b77;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0a42",
  "rgb": {
    "r": 29,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 260.357,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21711,
    "c": 0.09749,
    "h": 291.6
  },
  "luminance": 0.00872
}

Semantic roles & 50–950 ramp

primary
#1D0A42
secondary
#627F29
accent
#F037B2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0A42

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

Preview Lab → · Contrast checker → · Palette generator →

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