#1D062E#1D062E

#1D062E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.077 H 306.9°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#1D062E
RGBrgb(29, 6, 46)
HSLhsl(275, 77%, 10%)
HSVhsv(275, 87%, 18%)
CMYKcmyk(37%, 87%, 0%, 82%)
CIE-LABlab(5.32, 20.00, -21.15)
CIE-LCHlch(5.32, 29.10, 313.40°)
OKLaboklab(19.02% 0.0465 -0.0619)
OKLCHoklch(19.02% 0.077 306.9)
XYZxyz(1.0649, 0.5887, 2.6418)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D062E #172E06
analogous
#09062E #1D062E #2E062B
triadic
#1D062E #2E1D06 #062E1D
tetradic
#1D062E #2E0906 #172E06 #062B2E
square
#1D062E #2E0906 #172E06 #062B2E
split-complementary
#1D062E #2B2E06 #062E09
monochromatic
#11041B #11041B #1D062E #3F0D64 #61149A

Accessibility & contrast

On white

18.79
#1D062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D062E
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D062E#FFFFFF#000000##FFFFFF
##1D062E1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#1A0F19
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1d062e;
/* rgb */ color: rgb(29, 6, 46);
/* oklch */ color: oklch(19.0% 0.077 306.9);
Tailwind
colors: {
  custom: {
    50: '#5a4967',
    500: '#1d062e',
    950: '#000000',
  },
}
SCSS
$custom: #1d062e;
$custom-light: #5a4967;
$custom-dark: #000000;
JSON
{
  "hex": "#1d062e",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 274.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.1902,
    "c": 0.0774,
    "h": 306.9
  },
  "luminance": 0.00589
}

Semantic roles & 50–950 ramp

primary
#1D062E
secondary
#426F21
accent
#F33486
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D062E

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

Preview Lab → · Contrast checker → · Palette generator →

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