#1D033A#1D033A

#1D033A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.8% C 0.097 H 298.8°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#1D033A
RGBrgb(29, 3, 58)
HSLhsl(268, 90%, 12%)
HSVhsv(268, 95%, 23%)
CMYKcmyk(50%, 94.8%, 0%, 77.3%)
CIE-LABlab(5.71, 26.10, -29.37)
CIE-LCHlch(5.71, 39.29, 311.63°)
OKLaboklab(19.76% 0.047 -0.0854)
OKLCHoklch(19.76% 0.097 298.8)
XYZxyz(1.3028, 0.6318, 4.0555)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D033A #203A03
analogous
#03043A #1D033A #39033A
triadic
#1D033A #3A1D03 #033A1D
tetradic
#1D033A #3A0304 #203A03 #033A39
square
#1D033A #3A0304 #203A03 #033A39
split-complementary
#1D033A #3A3903 #043A03
monochromatic
#0F021D #0F021D #1D033A #3A0674 #5709AE

Accessibility & contrast

On white

18.64
#1D033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1D033A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D033A
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D033A#FFFFFF#000000##FFFFFF
##1D033A1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#16121F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d033a;
/* rgb */ color: rgb(29, 3, 58);
/* oklch */ color: oklch(19.8% 0.097 298.8);
Tailwind
colors: {
  custom: {
    50: '#5d4771',
    500: '#1d033a',
    950: '#000000',
  },
}
SCSS
$custom: #1d033a;
$custom-light: #5d4771;
$custom-dark: #000000;
JSON
{
  "hex": "#1d033a",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 268.364,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19755,
    "c": 0.09746,
    "h": 298.8
  },
  "luminance": 0.00632
}

Semantic roles & 50–950 ramp

primary
#1D033A
secondary
#4F7D1C
accent
#FF299A
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1D033A

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

Preview Lab → · Contrast checker → · Palette generator →

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