#1D073D#1D073D

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

Color values

HEX#1D073D
RGBrgb(29, 7, 61)
HSLhsl(264, 79%, 13%)
HSVhsv(264, 89%, 24%)
CMYKcmyk(52.5%, 88.5%, 0%, 76.1%)
CIE-LABlab(6.78, 25.11, -29.80)
CIE-LCHlch(6.78, 38.97, 310.13°)
OKLaboklab(20.73% 0.0407 -0.0858)
OKLCHoklch(20.73% 0.095 295.4)
XYZxyz(1.4248, 0.7501, 4.4837)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D073D #273D07
analogous
#070C3D #1D073D #38073D
triadic
#1D073D #3D1D07 #073D1D
tetradic
#1D073D #3D070C #273D07 #073D38
square
#1D073D #3D070C #273D07 #073D38
split-complementary
#1D073D #3D3807 #0C3D07
monochromatic
#0D031B #0D031B #1D073D #370D74 #5114AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D073D#FFFFFF#000000##FFFFFF
##1D073D1.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)
#00153F
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#141622
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d073d;
/* rgb */ color: rgb(29, 7, 61);
/* oklch */ color: oklch(20.7% 0.095 295.4);
Tailwind
colors: {
  custom: {
    50: '#5d4973',
    500: '#1d073d',
    950: '#000000',
  },
}
SCSS
$custom: #1d073d;
$custom-light: #5d4973;
$custom-dark: #000000;
JSON
{
  "hex": "#1d073d",
  "rgb": {
    "r": 29,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 264.444,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2073,
    "c": 0.09492,
    "h": 295.4
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#1D073D
secondary
#587C23
accent
#F632A6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1D073D

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

Preview Lab → · Contrast checker → · Palette generator →

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