#1D083E#1D083E

#1D083E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.095 H 294.4°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#1D083E
RGBrgb(29, 8, 62)
HSLhsl(263, 77%, 14%)
HSVhsv(263, 87%, 24%)
CMYKcmyk(53.2%, 87.1%, 0%, 75.7%)
CIE-LABlab(7.07, 24.93, -30.04)
CIE-LCHlch(7.07, 39.04, 309.70°)
OKLaboklab(20.99% 0.0392 -0.0863)
OKLCHoklch(20.99% 0.095 294.4)
XYZxyz(1.4628, 0.7826, 4.6305)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D083E #293E08
analogous
#080E3E #1D083E #38083E
triadic
#1D083E #3E1D08 #083E1D
tetradic
#1D083E #3E080E #293E08 #083E38
square
#1D083E #3E080E #293E08 #083E38
split-complementary
#1D083E #3E3808 #0E3E08
monochromatic
#0D031B #0D031B #1D083E #360F74 #5016AA

Accessibility & contrast

On white

18.16
#1D083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D083E
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D083E#FFFFFF#000000##FFFFFF
##1D083E1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001640
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#131722
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1d083e;
/* rgb */ color: rgb(29, 8, 62);
/* oklch */ color: oklch(21.0% 0.095 294.4);
Tailwind
colors: {
  custom: {
    50: '#5d4a74',
    500: '#1d083e',
    950: '#000000',
  },
}
SCSS
$custom: #1d083e;
$custom-light: #5d4a74;
$custom-dark: #000000;
JSON
{
  "hex": "#1d083e",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 263.333,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2099,
    "c": 0.09481,
    "h": 294.4
  },
  "luminance": 0.00783
}

Semantic roles & 50–950 ramp

primary
#1D083E
secondary
#5B7D25
accent
#F434A9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D083E

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

Preview Lab → · Contrast checker → · Palette generator →

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