#1D082E#1D082E

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

Color values

HEX#1D082E
RGBrgb(29, 8, 46)
HSLhsl(273, 70%, 11%)
HSVhsv(273, 83%, 18%)
CMYKcmyk(37%, 82.6%, 0%, 82%)
CIE-LABlab(5.71, 19.06, -20.52)
CIE-LCHlch(5.71, 28.01, 312.89°)
OKLaboklab(19.38% 0.0433 -0.0595)
OKLCHoklch(19.38% 0.074 306)
XYZxyz(1.0866, 0.6321, 2.6490)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D082E #192E08
analogous
#0A082E #1D082E #2E082C
triadic
#1D082E #2E1D08 #082E1D
tetradic
#1D082E #2E0A08 #192E08 #082C2E
square
#1D082E #2E0A08 #192E08 #082C2E
split-complementary
#1D082E #2C2E08 #082E0A
monochromatic
#10051A #10051A #1D082E #3E1162 #5F1A96

Accessibility & contrast

On white

18.64
#1D082E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1D082E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D082E
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D082E#FFFFFF#000000##FFFFFF
##1D082E1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#01132D
Tritanopia (blue-blind)
#1A101A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d082e;
/* rgb */ color: rgb(29, 8, 46);
/* oklch */ color: oklch(19.4% 0.074 306.0);
Tailwind
colors: {
  custom: {
    50: '#5a4a67',
    500: '#1d082e',
    950: '#000000',
  },
}
SCSS
$custom: #1d082e;
$custom-light: #5a4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#1d082e",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 46
  },
  "hsl": {
    "h": 273.158,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19378,
    "c": 0.07356,
    "h": 306
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#1D082E
secondary
#456D25
accent
#ED3B8B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1D082E

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

Preview Lab → · Contrast checker → · Palette generator →

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