#1D032B#1D032B

#1D032B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.080 H 311.1°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#1D032B
RGBrgb(29, 3, 43)
HSLhsl(279, 87%, 9%)
HSVhsv(279, 93%, 17%)
CMYKcmyk(32.6%, 93%, 0%, 83.1%)
CIE-LABlab(4.52, 20.18, -20.14)
CIE-LCHlch(4.52, 28.52, 315.06°)
OKLaboklab(18.16% 0.0527 -0.0604)
OKLCHoklch(18.16% 0.08 311.1)
XYZxyz(0.9752, 0.5008, 2.3303)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D032B #112B03
analogous
#09032B #1D032B #2B0325
triadic
#1D032B #2B1D03 #032B1D
tetradic
#1D032B #2B0903 #112B03 #03252B
square
#1D032B #2B0903 #112B03 #03252B
split-complementary
#1D032B #252B03 #032B09
monochromatic
#13021D #13021D #1D032B #440764 #6A0B9D

Accessibility & contrast

On white

19.09
#1D032B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1D032B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D032B
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D032B#FFFFFF#000000##FFFFFF
##1D032B1.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#00102A
Tritanopia (blue-blind)
#1B0B16
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1d032b;
/* rgb */ color: rgb(29, 3, 43);
/* oklch */ color: oklch(18.2% 0.080 311.1);
Tailwind
colors: {
  custom: {
    50: '#5a4764',
    500: '#1d032b',
    950: '#000000',
  },
}
SCSS
$custom: #1d032b;
$custom-light: #5a4764;
$custom-dark: #000000;
JSON
{
  "hex": "#1d032b",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 279,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.18156,
    "c": 0.08019,
    "h": 311.1
  },
  "luminance": 0.00501
}

Semantic roles & 50–950 ramp

primary
#1D032B
secondary
#386F1B
accent
#FD2B74
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1D032B

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

Preview Lab → · Contrast checker → · Palette generator →

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