#1D0647#1D0647

#1D0647 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.7% C 0.109 H 290.3°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#1D0647
RGBrgb(29, 6, 71)
HSLhsl(261, 84%, 15%)
HSVhsv(261, 92%, 28%)
CMYKcmyk(59.2%, 91.5%, 0%, 72.2%)
CIE-LABlab(7.64, 29.07, -35.48)
CIE-LCHlch(7.64, 45.87, 309.33°)
OKLaboklab(21.72% 0.0378 -0.1021)
OKLCHoklch(21.72% 0.109 290.3)
XYZxyz(1.7088, 0.8463, 6.0333)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0647 #304706
analogous
#060F47 #1D0647 #3E0647
triadic
#1D0647 #471D06 #06471D
tetradic
#1D0647 #47060F #304706 #06473E
square
#1D0647 #47060F #304706 #06473E
split-complementary
#1D0647 #473E06 #0F4706
monochromatic
#0C021C #0C021C #1D0647 #340B7F #4B10B8

Accessibility & contrast

On white

17.96
#1D0647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0647
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0647#FFFFFF#000000##FFFFFF
##1D06471.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#0D1A27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d0647;
/* rgb */ color: rgb(29, 6, 71);
/* oklch */ color: oklch(21.7% 0.109 290.3);
Tailwind
colors: {
  custom: {
    50: '#5f497b',
    500: '#1d0647',
    950: '#000000',
  },
}
SCSS
$custom: #1d0647;
$custom-light: #5f497b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0647",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 261.231,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21721,
    "c": 0.10883,
    "h": 290.3
  },
  "luminance": 0.00846
}

Semantic roles & 50–950 ramp

primary
#1D0647
secondary
#638623
accent
#FB2DB2
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0647

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

Preview Lab → · Contrast checker → · Palette generator →

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