#1D0931#1D0931

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

Color values

HEX#1D0931
RGBrgb(29, 9, 49)
HSLhsl(270, 69%, 11%)
HSVhsv(270, 82%, 19%)
CMYKcmyk(40.8%, 81.6%, 0%, 80.8%)
CIE-LABlab(6.13, 19.70, -22.09)
CIE-LCHlch(6.13, 29.59, 311.72°)
OKLaboklab(19.83% 0.0413 -0.0636)
OKLCHoklch(19.83% 0.076 303)
XYZxyz(1.1586, 0.6783, 2.9750)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0931 #1D3109
analogous
#090931 #1D0931 #310931
triadic
#1D0931 #311D09 #09311D
tetradic
#1D0931 #310909 #1D3109 #093131
square
#1D0931 #310909 #1D3109 #093131
split-complementary
#1D0931 #313109 #093109
monochromatic
#0F051A #0F051A #1D0931 #3C1265 #5A1C98

Accessibility & contrast

On white

18.49
#1D0931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1D0931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0931
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0931#FFFFFF#000000##FFFFFF
##1D09311.0018.491.1418.49
#FFFFFF18.491.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#001330
Tritanopia (blue-blind)
#19121B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d0931;
/* rgb */ color: rgb(29, 9, 49);
/* oklch */ color: oklch(19.8% 0.076 303.0);
Tailwind
colors: {
  custom: {
    50: '#5b4a69',
    500: '#1d0931',
    950: '#000000',
  },
}
SCSS
$custom: #1d0931;
$custom-light: #5b4a69;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0931",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 49
  },
  "hsl": {
    "h": 270,
    "s": 68.966,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19829,
    "c": 0.07585,
    "h": 303
  },
  "luminance": 0.00678
}

Semantic roles & 50–950 ramp

primary
#1D0931
secondary
#4B6F27
accent
#EC3C94
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1D0931

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

Preview Lab → · Contrast checker → · Palette generator →

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