#1D083F#1D083F

#1D083F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.096 H 293.9°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#1D083F
RGBrgb(29, 8, 63)
HSLhsl(263, 77%, 14%)
HSVhsv(263, 87%, 25%)
CMYKcmyk(54%, 87.3%, 0%, 75.3%)
CIE-LABlab(7.17, 25.28, -30.59)
CIE-LCHlch(7.17, 39.68, 309.58°)
OKLaboklab(21.1% 0.0389 -0.0879)
OKLCHoklch(21.1% 0.096 293.9)
XYZxyz(1.4905, 0.7937, 4.7763)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D083F #2A3F08
analogous
#080F3F #1D083F #39083F
triadic
#1D083F #3F1D08 #083F1D
tetradic
#1D083F #3F080F #2A3F08 #083F39
square
#1D083F #3F080F #2A3F08 #083F39
split-complementary
#1D083F #3F3908 #0F3F08
monochromatic
#0C031B #0C031B #1D083F #360F75 #4F16AC

Accessibility & contrast

On white

18.12
#1D083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1D083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D083F
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D083F#FFFFFF#000000##FFFFFF
##1D083F1.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#131723
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1d083f;
/* rgb */ color: rgb(29, 8, 63);
/* oklch */ color: oklch(21.1% 0.096 293.9);
Tailwind
colors: {
  custom: {
    50: '#5e4a75',
    500: '#1d083f',
    950: '#000000',
  },
}
SCSS
$custom: #1d083f;
$custom-light: #5e4a75;
$custom-dark: #000000;
JSON
{
  "hex": "#1d083f",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 262.909,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21098,
    "c": 0.09611,
    "h": 293.9
  },
  "luminance": 0.00794
}

Semantic roles & 50–950 ramp

primary
#1D083F
secondary
#5C7E25
accent
#F434AB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D083F

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

Preview Lab → · Contrast checker → · Palette generator →

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