#1D073A#1D073A

#1D073A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.4% C 0.091 H 297.3°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#1D073A
RGBrgb(29, 7, 58)
HSLhsl(266, 78%, 13%)
HSVhsv(266, 88%, 23%)
CMYKcmyk(50%, 87.9%, 0%, 77.3%)
CIE-LABlab(6.49, 24.03, -28.09)
CIE-LCHlch(6.49, 36.97, 310.54°)
OKLaboklab(20.41% 0.0417 -0.0809)
OKLCHoklch(20.41% 0.091 297.3)
XYZxyz(1.3462, 0.7186, 4.0699)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D073A #243A07
analogous
#070B3A #1D073A #36073A
triadic
#1D073A #3A1D07 #073A1D
tetradic
#1D073A #3A070B #243A07 #073A36
square
#1D073A #3A070B #243A07 #073A36
split-complementary
#1D073A #3A3607 #0B3A07
monochromatic
#0E031B #0E031B #1D073A #380E71 #5414A7

Accessibility & contrast

On white

18.36
#1D073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1D073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D073A
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D073A#FFFFFF#000000##FFFFFF
##1D073A1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001439
Tritanopia (blue-blind)
#151520
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d073a;
/* rgb */ color: rgb(29, 7, 58);
/* oklch */ color: oklch(20.4% 0.091 297.3);
Tailwind
colors: {
  custom: {
    50: '#5d4971',
    500: '#1d073a',
    950: '#000000',
  },
}
SCSS
$custom: #1d073a;
$custom-light: #5d4971;
$custom-dark: #000000;
JSON
{
  "hex": "#1d073a",
  "rgb": {
    "r": 29,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 265.882,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20407,
    "c": 0.09106,
    "h": 297.3
  },
  "luminance": 0.00719
}

Semantic roles & 50–950 ramp

primary
#1D073A
secondary
#547923
accent
#F533A1
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1D073A

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

Preview Lab → · Contrast checker → · Palette generator →

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