#1D083D#1D083D

#1D083D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.093 H 295.0°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#1D083D
RGBrgb(29, 8, 61)
HSLhsl(264, 77%, 14%)
HSVhsv(264, 87%, 24%)
CMYKcmyk(52.5%, 86.9%, 0%, 76.1%)
CIE-LABlab(6.97, 24.58, -29.48)
CIE-LCHlch(6.97, 38.38, 309.82°)
OKLaboklab(20.88% 0.0395 -0.0847)
OKLCHoklch(20.88% 0.094 295)
XYZxyz(1.4356, 0.7718, 4.4873)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D083D #283D08
analogous
#080D3D #1D083D #37083D
triadic
#1D083D #3D1D08 #083D1D
tetradic
#1D083D #3D080D #283D08 #083D37
square
#1D083D #3D080D #283D08 #083D37
split-complementary
#1D083D #3D3708 #0D3D08
monochromatic
#0D041B #0D041B #1D083D #370F73 #5016A9

Accessibility & contrast

On white

18.19
#1D083D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1D083D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D083D
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D083D#FFFFFF#000000##FFFFFF
##1D083D1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163E
Deuteranopia (green-blind)
#00153C
Tritanopia (blue-blind)
#141622
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d083d;
/* rgb */ color: rgb(29, 8, 61);
/* oklch */ color: oklch(20.9% 0.093 295.0);
Tailwind
colors: {
  custom: {
    50: '#5d4a73',
    500: '#1d083d',
    950: '#000000',
  },
}
SCSS
$custom: #1d083d;
$custom-light: #5d4a73;
$custom-dark: #000000;
JSON
{
  "hex": "#1d083d",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 263.774,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20882,
    "c": 0.0935,
    "h": 295
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#1D083D
secondary
#597C25
accent
#F334A8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1D083D

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

Preview Lab → · Contrast checker → · Palette generator →

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