#1D032F#1D032F

#1D032F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.6% C 0.085 H 307.4°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#1D032F
RGBrgb(29, 3, 47)
HSLhsl(275, 88%, 10%)
HSVhsv(275, 94%, 18%)
CMYKcmyk(38.3%, 93.6%, 0%, 81.6%)
CIE-LABlab(4.80, 21.77, -22.71)
CIE-LCHlch(4.80, 31.46, 313.79°)
OKLaboklab(18.56% 0.0514 -0.0674)
OKLCHoklch(18.56% 0.085 307.4)
XYZxyz(1.0522, 0.5316, 2.7359)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D032F #152F03
analogous
#07032F #1D032F #2F032B
triadic
#1D032F #2F1D03 #032F1D
tetradic
#1D032F #2F0703 #152F03 #032B2F
square
#1D032F #2F0703 #152F03 #032B2F
split-complementary
#1D032F #2B2F03 #032F07
monochromatic
#12021D #12021D #1D032F #400769 #640AA2

Accessibility & contrast

On white

18.98
#1D032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1D032F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D032F
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D032F#FFFFFF#000000##FFFFFF
##1D032F1.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#1A0D18
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1d032f;
/* rgb */ color: rgb(29, 3, 47);
/* oklch */ color: oklch(18.6% 0.085 307.4);
Tailwind
colors: {
  custom: {
    50: '#5b4768',
    500: '#1d032f',
    950: '#000000',
  },
}
SCSS
$custom: #1d032f;
$custom-light: #5b4768;
$custom-dark: #000000;
JSON
{
  "hex": "#1d032f",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 275.455,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18559,
    "c": 0.08477,
    "h": 307.4
  },
  "luminance": 0.00532
}

Semantic roles & 50–950 ramp

primary
#1D032F
secondary
#3F731B
accent
#FE2A81
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D032F

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

Preview Lab → · Contrast checker → · Palette generator →

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