#1D082F#1D082F

#1D082F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.075 H 305.1°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#1D082F
RGBrgb(29, 8, 47)
HSLhsl(272, 71%, 11%)
HSVhsv(272, 83%, 18%)
CMYKcmyk(38.3%, 83%, 0%, 81.6%)
CIE-LABlab(5.78, 19.43, -21.15)
CIE-LCHlch(5.78, 28.72, 312.57°)
OKLaboklab(19.47% 0.0431 -0.0613)
OKLCHoklch(19.47% 0.075 305.1)
XYZxyz(1.1065, 0.6401, 2.7540)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D082F #1A2F08
analogous
#09082F #1D082F #2F082D
triadic
#1D082F #2F1D08 #082F1D
tetradic
#1D082F #2F0908 #1A2F08 #082D2F
square
#1D082F #2F0908 #1A2F08 #082D2F
split-complementary
#1D082F #2D2F08 #082F09
monochromatic
#10041A #10041A #1D082F #3D1163 #5E1A98

Accessibility & contrast

On white

18.62
#1D082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D082F
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D082F#FFFFFF#000000##FFFFFF
##1D082F1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#00132E
Tritanopia (blue-blind)
#1A111A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d082f;
/* rgb */ color: rgb(29, 8, 47);
/* oklch */ color: oklch(19.5% 0.075 305.1);
Tailwind
colors: {
  custom: {
    50: '#5b4a68',
    500: '#1d082f',
    950: '#000000',
  },
}
SCSS
$custom: #1d082f;
$custom-light: #5b4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#1d082f",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 272.308,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19471,
    "c": 0.0749,
    "h": 305.1
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#1D082F
secondary
#476E25
accent
#EE3A8D
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1D082F

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

Preview Lab → · Contrast checker → · Palette generator →

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