#1D0646#1D0646

#1D0646 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.108 H 290.8°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#1D0646
RGBrgb(29, 6, 70)
HSLhsl(262, 84%, 15%)
HSVhsv(262, 91%, 27%)
CMYKcmyk(58.6%, 91.4%, 0%, 72.5%)
CIE-LABlab(7.53, 28.75, -34.97)
CIE-LCHlch(7.53, 45.27, 309.42°)
OKLaboklab(21.6% 0.0382 -0.1006)
OKLCHoklch(21.6% 0.108 290.8)
XYZxyz(1.6770, 0.8336, 5.8657)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0646 #2F4606
analogous
#060F46 #1D0646 #3D0646
triadic
#1D0646 #461D06 #06461D
tetradic
#1D0646 #46060F #2F4606 #06463D
square
#1D0646 #46060F #2F4606 #06463D
split-complementary
#1D0646 #463D06 #0F4606
monochromatic
#0C021C #0C021C #1D0646 #340B7E #4C10B7

Accessibility & contrast

On white

18.00
#1D0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1D0646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0646
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0646#FFFFFF#000000##FFFFFF
##1D06461.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d0646;
/* rgb */ color: rgb(29, 6, 70);
/* oklch */ color: oklch(21.6% 0.108 290.8);
Tailwind
colors: {
  custom: {
    50: '#5f497a',
    500: '#1d0646',
    950: '#000000',
  },
}
SCSS
$custom: #1d0646;
$custom-light: #5f497a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0646",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 261.563,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21604,
    "c": 0.1076,
    "h": 290.8
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#1D0646
secondary
#628522
accent
#FA2DB1
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0646

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

Preview Lab → · Contrast checker → · Palette generator →

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