#1D073E#1D073E

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

Color values

HEX#1D073E
RGBrgb(29, 7, 62)
HSLhsl(264, 80%, 14%)
HSVhsv(264, 89%, 24%)
CMYKcmyk(53.2%, 88.7%, 0%, 75.7%)
CIE-LABlab(6.87, 25.47, -30.36)
CIE-LCHlch(6.87, 39.63, 310.00°)
OKLaboklab(20.84% 0.0403 -0.0873)
OKLCHoklch(20.84% 0.096 294.8)
XYZxyz(1.4519, 0.7609, 4.6269)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D073E #283E07
analogous
#070C3E #1D073E #38073E
triadic
#1D073E #3E1D07 #073E1D
tetradic
#1D073E #3E070C #283E07 #073E38
square
#1D073E #3E070C #283E07 #073E38
split-complementary
#1D073E #3E3807 #0C3E07
monochromatic
#0D031B #0D031B #1D073E #370D75 #5013AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D073E#FFFFFF#000000##FFFFFF
##1D073E1.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)
#001640
Deuteranopia (green-blind)
#00143D
Tritanopia (blue-blind)
#131622
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d073e;
/* rgb */ color: rgb(29, 7, 62);
/* oklch */ color: oklch(20.8% 0.096 294.8);
Tailwind
colors: {
  custom: {
    50: '#5d4974',
    500: '#1d073e',
    950: '#000000',
  },
}
SCSS
$custom: #1d073e;
$custom-light: #5d4974;
$custom-dark: #000000;
JSON
{
  "hex": "#1d073e",
  "rgb": {
    "r": 29,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 264,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.2084,
    "c": 0.0962,
    "h": 294.8
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#1D073E
secondary
#597D24
accent
#F632A8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D073E

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

Preview Lab → · Contrast checker → · Palette generator →

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