#1D0832#1D0832

#1D0832 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.079 H 302.6°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#1D0832
RGBrgb(29, 8, 50)
HSLhsl(270, 72%, 11%)
HSVhsv(270, 84%, 20%)
CMYKcmyk(42%, 84%, 0%, 80.4%)
CIE-LABlab(6.01, 20.55, -23.02)
CIE-LCHlch(6.01, 30.86, 311.76°)
OKLaboklab(19.76% 0.0425 -0.0665)
OKLCHoklch(19.76% 0.079 302.6)
XYZxyz(1.1691, 0.6652, 3.0838)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0832 #1D3208
analogous
#080832 #1D0832 #320832
triadic
#1D0832 #321D08 #08321D
tetradic
#1D0832 #320808 #1D3208 #083232
square
#1D0832 #320808 #1D3208 #083232
split-complementary
#1D0832 #323208 #083208
monochromatic
#0F041A #0F041A #1D0832 #3C1067 #5A199C

Accessibility & contrast

On white

18.53
#1D0832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1D0832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0832
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0832#FFFFFF#000000##FFFFFF
##1D08321.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001333
Deuteranopia (green-blind)
#001331
Tritanopia (blue-blind)
#19121C
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d0832;
/* rgb */ color: rgb(29, 8, 50);
/* oklch */ color: oklch(19.8% 0.079 302.6);
Tailwind
colors: {
  custom: {
    50: '#5b4a6a',
    500: '#1d0832',
    950: '#000000',
  },
}
SCSS
$custom: #1d0832;
$custom-light: #5b4a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0832",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 270,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19756,
    "c": 0.07893,
    "h": 302.6
  },
  "luminance": 0.00665
}

Semantic roles & 50–950 ramp

primary
#1D0832
secondary
#4B7125
accent
#EF3994
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1D0832

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

Preview Lab → · Contrast checker → · Palette generator →

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