#1D062A#1D062A

#1D062A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.6% C 0.072 H 310.8°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#1D062A
RGBrgb(29, 6, 42)
HSLhsl(278, 75%, 9%)
HSVhsv(278, 86%, 16%)
CMYKcmyk(31%, 85.7%, 0%, 83.5%)
CIE-LABlab(5.05, 18.47, -18.56)
CIE-LCHlch(5.05, 26.18, 314.85°)
OKLaboklab(18.65% 0.0473 -0.0547)
OKLCHoklch(18.65% 0.072 310.8)
XYZxyz(0.9897, 0.5587, 2.2457)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D062A #132A06
analogous
#0B062A #1D062A #2A0625
triadic
#1D062A #2A1D06 #062A1D
tetradic
#1D062A #2A0B06 #132A06 #06252A
square
#1D062A #2A0B06 #132A06 #06252A
split-complementary
#1D062A #252A06 #062A0B
monochromatic
#12041B #12041B #1D062A #420E60 #671595

Accessibility & contrast

On white

18.89
#1D062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1D062A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D062A
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D062A#FFFFFF#000000##FFFFFF
##1D062A1.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#031129
Tritanopia (blue-blind)
#1B0D17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1d062a;
/* rgb */ color: rgb(29, 6, 42);
/* oklch */ color: oklch(18.6% 0.072 310.8);
Tailwind
colors: {
  custom: {
    50: '#5a4963',
    500: '#1d062a',
    950: '#000000',
  },
}
SCSS
$custom: #1d062a;
$custom-light: #5a4963;
$custom-dark: #000000;
JSON
{
  "hex": "#1d062a",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 278.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18647,
    "c": 0.07231,
    "h": 310.8
  },
  "luminance": 0.00559
}

Semantic roles & 50–950 ramp

primary
#1D062A
secondary
#3C6B21
accent
#F2367A
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #1D062A

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

Preview Lab → · Contrast checker → · Palette generator →

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