#1D082C#1D082C

#1D082C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.071 H 307.9°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).

Color values

HEX#1D082C
RGBrgb(29, 8, 44)
HSLhsl(275, 69%, 10%)
HSVhsv(275, 82%, 17%)
CMYKcmyk(34.1%, 81.8%, 0%, 82.7%)
CIE-LABlab(5.57, 18.31, -19.24)
CIE-LCHlch(5.57, 26.57, 313.58°)
OKLaboklab(19.2% 0.0435 -0.0559)
OKLCHoklch(19.2% 0.071 307.9)
XYZxyz(1.0481, 0.6167, 2.4462)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D082C #172C08
analogous
#0B082C #1D082C #2C0829
triadic
#1D082C #2C1D08 #082C1D
tetradic
#1D082C #2C0B08 #172C08 #08292C
square
#1D082C #2C0B08 #172C08 #08292C
split-complementary
#1D082C #292C08 #082C0B
monochromatic
#11051A #11051A #1D082C #3F1160 #611B94

Accessibility & contrast

On white

18.69
#1D082C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D082C
18.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D082C#FFFFFF#000000##FFFFFF
##1D082C1.0018.691.1218.69
#FFFFFF18.691.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112D
Deuteranopia (green-blind)
#03122B
Tritanopia (blue-blind)
#1B1018
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1d082c;
/* rgb */ color: rgb(29, 8, 44);
/* oklch */ color: oklch(19.2% 0.071 307.9);
Tailwind
colors: {
  custom: {
    50: '#5a4a65',
    500: '#1d082c',
    950: '#000000',
  },
}
SCSS
$custom: #1d082c;
$custom-light: #5a4a65;
$custom-dark: #000000;
JSON
{
  "hex": "#1d082c",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 44
  },
  "hsl": {
    "h": 275,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19197,
    "c": 0.07087,
    "h": 307.9
  },
  "luminance": 0.00617
}

Semantic roles & 50–950 ramp

primary
#1D082C
secondary
#426B25
accent
#EC3C85
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040105
muted
#79777A

Preview Lab

Preview with #1D082C

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

Preview Lab → · Contrast checker → · Palette generator →

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