#1D0946#1D0946

#1D0946 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.104 H 289.9°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#1D0946
RGBrgb(29, 9, 70)
HSLhsl(260, 77%, 15%)
HSVhsv(260, 87%, 27%)
CMYKcmyk(58.6%, 87.1%, 0%, 72.5%)
CIE-LABlab(8.12, 27.05, -34.00)
CIE-LCHlch(8.12, 43.45, 308.51°)
OKLaboklab(22.02% 0.0355 -0.0977)
OKLCHoklch(22.02% 0.104 289.9)
XYZxyz(1.7096, 0.8987, 5.8766)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0946 #324609
analogous
#091346 #1D0946 #3B0946
triadic
#1D0946 #461D09 #09461D
tetradic
#1D0946 #460913 #324609 #09463B
square
#1D0946 #460913 #324609 #09463B
split-complementary
#1D0946 #463B09 #134609
monochromatic
#0B031B #0B031B #1D0946 #33107C #4A17B2

Accessibility & contrast

On white

17.80
#1D0946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1D0946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0946
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0946#FFFFFF#000000##FFFFFF
##1D09461.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#0E1A27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1d0946;
/* rgb */ color: rgb(29, 9, 70);
/* oklch */ color: oklch(22.0% 0.104 289.9);
Tailwind
colors: {
  custom: {
    50: '#5f4b7a',
    500: '#1d0946',
    950: '#000000',
  },
}
SCSS
$custom: #1d0946;
$custom-light: #5f4b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0946",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 259.672,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22017,
    "c": 0.10398,
    "h": 289.9
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#1D0946
secondary
#658427
accent
#F434B5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0946

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

Preview Lab → · Contrast checker → · Palette generator →

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