#1D083B#1D083B

#1D083B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.7% C 0.091 H 296.2°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#1D083B
RGBrgb(29, 8, 59)
HSLhsl(265, 76%, 13%)
HSVhsv(265, 86%, 23%)
CMYKcmyk(50.8%, 86.4%, 0%, 76.9%)
CIE-LABlab(6.78, 23.87, -28.35)
CIE-LCHlch(6.78, 37.06, 310.10°)
OKLaboklab(20.67% 0.0402 -0.0815)
OKLCHoklch(20.67% 0.091 296.2)
XYZxyz(1.3827, 0.7506, 4.2089)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D083B #263B08
analogous
#080C3B #1D083B #36083B
triadic
#1D083B #3B1D08 #083B1D
tetradic
#1D083B #3B080C #263B08 #083B36
square
#1D083B #3B080C #263B08 #083B36
split-complementary
#1D083B #3B3608 #0C3B08
monochromatic
#0D041B #0D041B #1D083B #370F71 #5217A7

Accessibility & contrast

On white

18.26
#1D083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D083B
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D083B#FFFFFF#000000##FFFFFF
##1D083B1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153C
Deuteranopia (green-blind)
#00143A
Tritanopia (blue-blind)
#151521
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d083b;
/* rgb */ color: rgb(29, 8, 59);
/* oklch */ color: oklch(20.7% 0.091 296.2);
Tailwind
colors: {
  custom: {
    50: '#5d4a71',
    500: '#1d083b',
    950: '#000000',
  },
}
SCSS
$custom: #1d083b;
$custom-light: #5d4a71;
$custom-dark: #000000;
JSON
{
  "hex": "#1d083b",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 264.706,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20668,
    "c": 0.09087,
    "h": 296.2
  },
  "luminance": 0.00751
}

Semantic roles & 50–950 ramp

primary
#1D083B
secondary
#577A25
accent
#F335A5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #1D083B

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

Preview Lab → · Contrast checker → · Palette generator →

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