#1D062F#1D062F

#1D062F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.079 H 306.0°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#1D062F
RGBrgb(29, 6, 47)
HSLhsl(274, 77%, 10%)
HSVhsv(274, 87%, 18%)
CMYKcmyk(38.3%, 87.2%, 0%, 81.6%)
CIE-LABlab(5.39, 20.38, -21.78)
CIE-LCHlch(5.39, 29.82, 313.10°)
OKLaboklab(19.12% 0.0463 -0.0636)
OKLCHoklch(19.12% 0.079 306)
XYZxyz(1.0848, 0.5967, 2.7468)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D062F #182F06
analogous
#09062F #1D062F #2F062C
triadic
#1D062F #2F1D06 #062F1D
tetradic
#1D062F #2F0906 #182F06 #062C2F
square
#1D062F #2F0906 #182F06 #062C2F
split-complementary
#1D062F #2C2F06 #062F09
monochromatic
#11031B #11031B #1D062F #3E0D65 #60149C

Accessibility & contrast

On white

18.76
#1D062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D062F
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D062F#FFFFFF#000000##FFFFFF
##1D062F1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#1A0F19
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1d062f;
/* rgb */ color: rgb(29, 6, 47);
/* oklch */ color: oklch(19.1% 0.079 306.0);
Tailwind
colors: {
  custom: {
    50: '#5b4968',
    500: '#1d062f',
    950: '#000000',
  },
}
SCSS
$custom: #1d062f;
$custom-light: #5b4968;
$custom-dark: #000000;
JSON
{
  "hex": "#1d062f",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 273.659,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19116,
    "c": 0.07867,
    "h": 306
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#1D062F
secondary
#447021
accent
#F43488
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D062F

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

Preview Lab → · Contrast checker → · Palette generator →

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