#1D032C#1D032C

#1D032C is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.081 H 310.1°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#1D032C
RGBrgb(29, 3, 44)
HSLhsl(278, 87%, 9%)
HSVhsv(278, 93%, 17%)
CMYKcmyk(34.1%, 93.2%, 0%, 82.7%)
CIE-LABlab(4.59, 20.58, -20.79)
CIE-LCHlch(4.59, 29.26, 314.71°)
OKLaboklab(18.26% 0.0524 -0.0622)
OKLCHoklch(18.26% 0.081 310.1)
XYZxyz(0.9938, 0.5082, 2.4281)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D032C #122C03
analogous
#09032C #1D032C #2C0327
triadic
#1D032C #2C1D03 #032C1D
tetradic
#1D032C #2C0903 #122C03 #03272C
square
#1D032C #2C0903 #122C03 #03272C
split-complementary
#1D032C #272C03 #032C09
monochromatic
#13021D #13021D #1D032C #430765 #690B9F

Accessibility & contrast

On white

19.06
#1D032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D032C
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D032C#FFFFFF#000000##FFFFFF
##1D032C1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2D
Deuteranopia (green-blind)
#00102B
Tritanopia (blue-blind)
#1B0C17
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1d032c;
/* rgb */ color: rgb(29, 3, 44);
/* oklch */ color: oklch(18.3% 0.081 310.1);
Tailwind
colors: {
  custom: {
    50: '#5a4765',
    500: '#1d032c',
    950: '#000000',
  },
}
SCSS
$custom: #1d032c;
$custom-light: #5a4765;
$custom-dark: #000000;
JSON
{
  "hex": "#1d032c",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 278.049,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18255,
    "c": 0.08134,
    "h": 310.1
  },
  "luminance": 0.00508
}

Semantic roles & 50–950 ramp

primary
#1D032C
secondary
#3A701B
accent
#FD2A78
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1D032C

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

Preview Lab → · Contrast checker → · Palette generator →

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