#1D0336#1D0336

#1D0336 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.093 H 301.7°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#1D0336
RGBrgb(29, 3, 54)
HSLhsl(271, 89%, 11%)
HSVhsv(271, 94%, 21%)
CMYKcmyk(46.3%, 94.4%, 0%, 78.8%)
CIE-LABlab(5.35, 24.54, -27.02)
CIE-LCHlch(5.35, 36.50, 312.25°)
OKLaboklab(19.31% 0.0487 -0.079)
OKLCHoklch(19.31% 0.093 301.7)
XYZxyz(1.2049, 0.5927, 3.5402)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0336 #1C3603
analogous
#030336 #1D0336 #360335
triadic
#1D0336 #361D03 #03361D
tetradic
#1D0336 #360303 #1C3603 #033536
square
#1D0336 #360303 #1C3603 #033536
split-complementary
#1D0336 #353603 #033603
monochromatic
#10021D #10021D #1D0336 #3C0670 #5B09AA

Accessibility & contrast

On white

18.77
#1D0336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1D0336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0336
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0336#FFFFFF#000000##FFFFFF
##1D03361.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001137
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#17101C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1d0336;
/* rgb */ color: rgb(29, 3, 54);
/* oklch */ color: oklch(19.3% 0.093 301.7);
Tailwind
colors: {
  custom: {
    50: '#5c476d',
    500: '#1d0336',
    950: '#000000',
  },
}
SCSS
$custom: #1d0336;
$custom-light: #5c476d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0336",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 270.588,
    "s": 89.474,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19306,
    "c": 0.09283,
    "h": 301.7
  },
  "luminance": 0.00593
}

Semantic roles & 50–950 ramp

primary
#1D0336
secondary
#49791C
accent
#FF2992
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1D0336

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

Preview Lab → · Contrast checker → · Palette generator →

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