#1D0641#1D0641

#1D0641 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.101 H 293.4°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#1D0641
RGBrgb(29, 6, 65)
HSLhsl(263, 83%, 14%)
HSVhsv(263, 91%, 25%)
CMYKcmyk(55.4%, 90.8%, 0%, 74.5%)
CIE-LABlab(6.98, 27.06, -32.32)
CIE-LCHlch(6.98, 42.15, 309.94°)
OKLaboklab(21.03% 0.0403 -0.093)
OKLCHoklch(21.03% 0.101 293.4)
XYZxyz(1.5257, 0.7731, 5.0688)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0641 #2A4106
analogous
#060D41 #1D0641 #3B0641
triadic
#1D0641 #411D06 #06411D
tetradic
#1D0641 #41060D #2A4106 #06413B
square
#1D0641 #41060D #2A4106 #06413B
split-complementary
#1D0641 #413B06 #0D4106
monochromatic
#0C031C #0C031C #1D0641 #360B79 #4F10B1

Accessibility & contrast

On white

18.19
#1D0641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1D0641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0641
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0641#FFFFFF#000000##FFFFFF
##1D06411.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#121724
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d0641;
/* rgb */ color: rgb(29, 6, 65);
/* oklch */ color: oklch(21.0% 0.101 293.4);
Tailwind
colors: {
  custom: {
    50: '#5e4976',
    500: '#1d0641',
    950: '#000000',
  },
}
SCSS
$custom: #1d0641;
$custom-light: #5e4976;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0641",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 263.39,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21026,
    "c": 0.10138,
    "h": 293.4
  },
  "luminance": 0.00773
}

Semantic roles & 50–950 ramp

primary
#1D0641
secondary
#5C8122
accent
#F92EAA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D0641

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

Preview Lab → · Contrast checker → · Palette generator →

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