#1D0328#1D0328

#1D0328 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 17.9% C 0.077 H 314.2°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#1D0328
RGBrgb(29, 3, 40)
HSLhsl(282, 86%, 8%)
HSVhsv(282, 93%, 16%)
CMYKcmyk(27.5%, 92.5%, 0%, 84.3%)
CIE-LABlab(4.33, 19.00, -18.16)
CIE-LCHlch(4.33, 26.29, 316.30°)
OKLaboklab(17.87% 0.0535 -0.0551)
OKLCHoklch(17.87% 0.077 314.2)
XYZxyz(0.9222, 0.4796, 2.0511)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0328 #0E2803
analogous
#0A0328 #1D0328 #280320
triadic
#1D0328 #281D03 #03281D
tetradic
#1D0328 #280A03 #0E2803 #032028
square
#1D0328 #280A03 #0E2803 #032028
split-complementary
#1D0328 #202803 #03280A
monochromatic
#15021C #15021C #1D0328 #460761 #700C9A

Accessibility & contrast

On white

19.16
#1D0328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0328
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0328#FFFFFF#000000##FFFFFF
##1D03281.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E29
Deuteranopia (green-blind)
#021027
Tritanopia (blue-blind)
#1C0A14
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1d0328;
/* rgb */ color: rgb(29, 3, 40);
/* oklch */ color: oklch(17.9% 0.077 314.2);
Tailwind
colors: {
  custom: {
    50: '#594762',
    500: '#1d0328',
    950: '#000000',
  },
}
SCSS
$custom: #1d0328;
$custom-light: #594762;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0328",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 282.162,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.17867,
    "c": 0.0768,
    "h": 314.2
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#1D0328
secondary
#336C1B
accent
#FC2C6A
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#040005
muted
#797779

Preview Lab

Preview with #1D0328

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

Preview Lab → · Contrast checker → · Palette generator →

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