#1D032E#1D032E

#1D032E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.084 H 308.3°. Best body text is #FFFFFF at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#1D032E
RGBrgb(29, 3, 46)
HSLhsl(276, 88%, 10%)
HSVhsv(276, 93%, 18%)
CMYKcmyk(37%, 93.5%, 0%, 82%)
CIE-LABlab(4.73, 21.38, -22.08)
CIE-LCHlch(4.73, 30.73, 314.07°)
OKLaboklab(18.46% 0.0518 -0.0657)
OKLCHoklch(18.46% 0.084 308.3)
XYZxyz(1.0323, 0.5236, 2.6309)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D032E #142E03
analogous
#08032E #1D032E #2E032A
triadic
#1D032E #2E1D03 #032E1D
tetradic
#1D032E #2E0803 #142E03 #032A2E
square
#1D032E #2E0803 #142E03 #032A2E
split-complementary
#1D032E #2A2E03 #032E08
monochromatic
#12021D #12021D #1D032E #410767 #650AA1

Accessibility & contrast

On white

19.01
#1D032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D032E
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D032E#FFFFFF#000000##FFFFFF
##1D032E1.0019.011.1019.01
#FFFFFF19.011.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#1A0D18
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1d032e;
/* rgb */ color: rgb(29, 3, 46);
/* oklch */ color: oklch(18.5% 0.084 308.3);
Tailwind
colors: {
  custom: {
    50: '#5a4767',
    500: '#1d032e',
    950: '#000000',
  },
}
SCSS
$custom: #1d032e;
$custom-light: #5a4767;
$custom-dark: #000000;
JSON
{
  "hex": "#1d032e",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 276.279,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18456,
    "c": 0.08362,
    "h": 308.3
  },
  "luminance": 0.00524
}

Semantic roles & 50–950 ramp

primary
#1D032E
secondary
#3D721B
accent
#FE2A7E
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D032E

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

Preview Lab → · Contrast checker → · Palette generator →

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