#1D073F#1D073F

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

Color values

HEX#1D073F
RGBrgb(29, 7, 63)
HSLhsl(264, 80%, 14%)
HSVhsv(264, 89%, 25%)
CMYKcmyk(54%, 88.9%, 0%, 75.3%)
CIE-LABlab(6.97, 25.82, -30.91)
CIE-LCHlch(6.97, 40.28, 309.88°)
OKLaboklab(20.95% 0.04 -0.0889)
OKLCHoklch(20.95% 0.097 294.2)
XYZxyz(1.4796, 0.7720, 4.7727)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D073F #293F07
analogous
#070D3F #1D073F #39073F
triadic
#1D073F #3F1D07 #073F1D
tetradic
#1D073F #3F070D #293F07 #073F39
square
#1D073F #3F070D #293F07 #073F39
split-complementary
#1D073F #3F3907 #0D3F07
monochromatic
#0D031C #0D031C #1D073F #360D76 #5013AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D073F#FFFFFF#000000##FFFFFF
##1D073F1.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)
#001641
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#131723
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d073f;
/* rgb */ color: rgb(29, 7, 63);
/* oklch */ color: oklch(20.9% 0.097 294.2);
Tailwind
colors: {
  custom: {
    50: '#5e4975',
    500: '#1d073f',
    950: '#000000',
  },
}
SCSS
$custom: #1d073f;
$custom-light: #5e4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1d073f",
  "rgb": {
    "r": 29,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 263.571,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2095,
    "c": 0.09748,
    "h": 294.2
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#1D073F
secondary
#5B7E24
accent
#F631A9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D073F

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

Preview Lab → · Contrast checker → · Palette generator →

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