#1D062B#1D062B

#1D062B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.074 H 309.8°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#1D062B
RGBrgb(29, 6, 43)
HSLhsl(277, 76%, 10%)
HSVhsv(277, 86%, 17%)
CMYKcmyk(32.6%, 86%, 0%, 83.1%)
CIE-LABlab(5.11, 18.85, -19.22)
CIE-LCHlch(5.11, 26.91, 314.45°)
OKLaboklab(18.74% 0.0471 -0.0565)
OKLCHoklch(18.74% 0.074 309.8)
XYZxyz(1.0078, 0.5659, 2.3412)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D062B #142B06
analogous
#0B062B #1D062B #2B0627
triadic
#1D062B #2B1D06 #062B1D
tetradic
#1D062B #2B0B06 #142B06 #06272B
square
#1D062B #2B0B06 #142B06 #06272B
split-complementary
#1D062B #272B06 #062B0B
monochromatic
#12041B #12041B #1D062B #410D61 #651596

Accessibility & contrast

On white

18.86
#1D062B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D062B
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D062B#FFFFFF#000000##FFFFFF
##1D062B1.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102C
Deuteranopia (green-blind)
#02112A
Tritanopia (blue-blind)
#1B0E17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1d062b;
/* rgb */ color: rgb(29, 6, 43);
/* oklch */ color: oklch(18.7% 0.074 309.8);
Tailwind
colors: {
  custom: {
    50: '#5a4964',
    500: '#1d062b',
    950: '#000000',
  },
}
SCSS
$custom: #1d062b;
$custom-light: #5a4964;
$custom-dark: #000000;
JSON
{
  "hex": "#1d062b",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 43
  },
  "hsl": {
    "h": 277.297,
    "s": 75.51,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18739,
    "c": 0.07359,
    "h": 309.8
  },
  "luminance": 0.00566
}

Semantic roles & 50–950 ramp

primary
#1D062B
secondary
#3D6C21
accent
#F2367D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1D062B

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

Preview Lab → · Contrast checker → · Palette generator →

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