#1D0446#1D0446

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

Color values

HEX#1D0446
RGBrgb(29, 4, 70)
HSLhsl(263, 89%, 15%)
HSVhsv(263, 94%, 27%)
CMYKcmyk(58.6%, 94.3%, 0%, 72.5%)
CIE-LABlab(7.14, 29.87, -35.61)
CIE-LCHlch(7.14, 46.48, 309.99°)
OKLaboklab(21.32% 0.0402 -0.1025)
OKLCHoklch(21.32% 0.11 291.4)
XYZxyz(1.6553, 0.7902, 5.8585)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0446 #2D4604
analogous
#040C46 #1D0446 #3E0446
triadic
#1D0446 #461D04 #04461D
tetradic
#1D0446 #46040C #2D4604 #04463E
square
#1D0446 #46040C #2D4604 #04463E
split-complementary
#1D0446 #463E04 #0C4604
monochromatic
#0C021D #0C021D #1D0446 #350780 #4D0BBA

Accessibility & contrast

On white

18.13
#1D0446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0446
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0446#FFFFFF#000000##FFFFFF
##1D04461.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#0E1826
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1d0446;
/* rgb */ color: rgb(29, 4, 70);
/* oklch */ color: oklch(21.3% 0.110 291.4);
Tailwind
colors: {
  custom: {
    50: '#5f487a',
    500: '#1d0446',
    950: '#000000',
  },
}
SCSS
$custom: #1d0446;
$custom-light: #5f487a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0446",
  "rgb": {
    "r": 29,
    "g": 4,
    "b": 70
  },
  "hsl": {
    "h": 262.727,
    "s": 89.189,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21319,
    "c": 0.11012,
    "h": 291.4
  },
  "luminance": 0.0079
}

Semantic roles & 50–950 ramp

primary
#1D0446
secondary
#5F871F
accent
#FF29AE
background
#F5F4F7
surface
#EAE6EE
border
#C6C2C9
text
#050009
muted
#79777B

Preview Lab

Preview with #1D0446

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

Preview Lab → · Contrast checker → · Palette generator →

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