#1D0846#1D0846

#1D0846 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.105 H 290.2°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#1D0846
RGBrgb(29, 8, 70)
HSLhsl(260, 79%, 15%)
HSVhsv(260, 89%, 27%)
CMYKcmyk(58.6%, 88.6%, 0%, 72.5%)
CIE-LABlab(7.92, 27.61, -34.32)
CIE-LCHlch(7.92, 44.05, 308.82°)
OKLaboklab(21.88% 0.0364 -0.0987)
OKLCHoklch(21.88% 0.105 290.2)
XYZxyz(1.6987, 0.8770, 5.8729)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0846 #314608
analogous
#081246 #1D0846 #3C0846
triadic
#1D0846 #461D08 #08461D
tetradic
#1D0846 #460812 #314608 #08463C
square
#1D0846 #460812 #314608 #08463C
split-complementary
#1D0846 #463C08 #124608
monochromatic
#0B031B #0B031B #1D0846 #340E7D #4B15B4

Accessibility & contrast

On white

17.87
#1D0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0846
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0846#FFFFFF#000000##FFFFFF
##1D08461.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d0846;
/* rgb */ color: rgb(29, 8, 70);
/* oklch */ color: oklch(21.9% 0.105 290.2);
Tailwind
colors: {
  custom: {
    50: '#5f4a7a',
    500: '#1d0846',
    950: '#000000',
  },
}
SCSS
$custom: #1d0846;
$custom-light: #5f4a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0846",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 260.323,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21881,
    "c": 0.10516,
    "h": 290.2
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#1D0846
secondary
#648426
accent
#F632B4
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0846

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

Preview Lab → · Contrast checker → · Palette generator →

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