#1D0636#1D0636

#1D0636 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.8% C 0.088 H 300.4°. Best body text is #FFFFFF at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#1D0636
RGBrgb(29, 6, 54)
HSLhsl(269, 80%, 12%)
HSVhsv(269, 89%, 21%)
CMYKcmyk(46.3%, 88.9%, 0%, 78.8%)
CIE-LABlab(5.94, 23.05, -26.07)
CIE-LCHlch(5.94, 34.80, 311.48°)
OKLaboklab(19.82% 0.0443 -0.0755)
OKLCHoklch(19.82% 0.088 300.4)
XYZxyz(1.2375, 0.6578, 3.5511)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0636 #1F3606
analogous
#060736 #1D0636 #350636
triadic
#1D0636 #361D06 #06361D
tetradic
#1D0636 #360607 #1F3606 #063635
square
#1D0636 #360607 #1F3606 #063635
split-complementary
#1D0636 #363506 #073606
monochromatic
#0F031C #0F031C #1D0636 #3B0C6D #5812A4

Accessibility & contrast

On white

18.56
#1D0636 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1D0636 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0636
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0636#FFFFFF#000000##FFFFFF
##1D06361.0018.561.1318.56
#FFFFFF18.561.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#17121D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d0636;
/* rgb */ color: rgb(29, 6, 54);
/* oklch */ color: oklch(19.8% 0.088 300.4);
Tailwind
colors: {
  custom: {
    50: '#5c496d',
    500: '#1d0636',
    950: '#000000',
  },
}
SCSS
$custom: #1d0636;
$custom-light: #5c496d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0636",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 54
  },
  "hsl": {
    "h": 268.75,
    "s": 80,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19822,
    "c": 0.08756,
    "h": 300.4
  },
  "luminance": 0.00658
}

Semantic roles & 50–950 ramp

primary
#1D0636
secondary
#4E7621
accent
#F63198
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1D0636

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

Preview Lab → · Contrast checker → · Palette generator →

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