#1D0332#1D0332

#1D0332 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.088 H 304.8°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#1D0332
RGBrgb(29, 3, 50)
HSLhsl(273, 89%, 10%)
HSVhsv(273, 94%, 20%)
CMYKcmyk(42%, 94%, 0%, 80.4%)
CIE-LABlab(5.03, 22.97, -24.59)
CIE-LCHlch(5.03, 33.65, 313.04°)
OKLaboklab(18.87% 0.0503 -0.0724)
OKLCHoklch(18.87% 0.088 304.8)
XYZxyz(1.1148, 0.5566, 3.0657)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0332 #183203
analogous
#050332 #1D0332 #32032F
triadic
#1D0332 #321D03 #03321D
tetradic
#1D0332 #320503 #183203 #032F32
square
#1D0332 #320503 #183203 #032F32
split-complementary
#1D0332 #2F3203 #033205
monochromatic
#11021D #11021D #1D0332 #3E066C #600AA5

Accessibility & contrast

On white

18.90
#1D0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0332
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0332#FFFFFF#000000##FFFFFF
##1D03321.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#190F1A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1d0332;
/* rgb */ color: rgb(29, 3, 50);
/* oklch */ color: oklch(18.9% 0.088 304.8);
Tailwind
colors: {
  custom: {
    50: '#5b476a',
    500: '#1d0332',
    950: '#000000',
  },
}
SCSS
$custom: #1d0332;
$custom-light: #5b476a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0332",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 273.191,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18873,
    "c": 0.08822,
    "h": 304.8
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#1D0332
secondary
#44751B
accent
#FF2989
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D0332

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

Preview Lab → · Contrast checker → · Palette generator →

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