#1D083C#1D083C

#1D083C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.092 H 295.6°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#1D083C
RGBrgb(29, 8, 60)
HSLhsl(264, 76%, 13%)
HSVhsv(264, 87%, 24%)
CMYKcmyk(51.7%, 86.7%, 0%, 76.5%)
CIE-LABlab(6.88, 24.23, -28.91)
CIE-LCHlch(6.88, 37.72, 309.96°)
OKLaboklab(20.78% 0.0399 -0.0831)
OKLCHoklch(20.78% 0.092 295.6)
XYZxyz(1.4089, 0.7611, 4.3468)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D083C #273C08
analogous
#080D3C #1D083C #37083C
triadic
#1D083C #3C1D08 #083C1D
tetradic
#1D083C #3C080D #273C08 #083C37
square
#1D083C #3C080D #273C08 #083C37
split-complementary
#1D083C #3C3708 #0D3C08
monochromatic
#0D041B #0D041B #1D083C #370F72 #5116A8

Accessibility & contrast

On white

18.23
#1D083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D083C
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D083C#FFFFFF#000000##FFFFFF
##1D083C1.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00143B
Tritanopia (blue-blind)
#141621
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d083c;
/* rgb */ color: rgb(29, 8, 60);
/* oklch */ color: oklch(20.8% 0.092 295.6);
Tailwind
colors: {
  custom: {
    50: '#5d4a72',
    500: '#1d083c',
    950: '#000000',
  },
}
SCSS
$custom: #1d083c;
$custom-light: #5d4a72;
$custom-dark: #000000;
JSON
{
  "hex": "#1d083c",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 264.231,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20775,
    "c": 0.09218,
    "h": 295.6
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#1D083C
secondary
#587B25
accent
#F335A6
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #1D083C

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

Preview Lab → · Contrast checker → · Palette generator →

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