#1D0637#1D0637

#1D0637 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.089 H 299.7°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#1D0637
RGBrgb(29, 6, 55)
HSLhsl(268, 80%, 12%)
HSVhsv(268, 89%, 22%)
CMYKcmyk(47.3%, 89.1%, 0%, 78.4%)
CIE-LABlab(6.03, 23.43, -26.66)
CIE-LCHlch(6.03, 35.49, 311.30°)
OKLaboklab(19.93% 0.044 -0.0771)
OKLCHoklch(19.93% 0.089 299.7)
XYZxyz(1.2612, 0.6673, 3.6760)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0637 #203706
analogous
#060837 #1D0637 #360637
triadic
#1D0637 #371D06 #06371D
tetradic
#1D0637 #370608 #203706 #063736
square
#1D0637 #370608 #203706 #063736
split-complementary
#1D0637 #373606 #083706
monochromatic
#0F031C #0F031C #1D0637 #3A0C6E #5712A5

Accessibility & contrast

On white

18.53
#1D0637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0637
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0637#FFFFFF#000000##FFFFFF
##1D06371.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001338
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#17131E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d0637;
/* rgb */ color: rgb(29, 6, 55);
/* oklch */ color: oklch(19.9% 0.089 299.7);
Tailwind
colors: {
  custom: {
    50: '#5c496e',
    500: '#1d0637',
    950: '#000000',
  },
}
SCSS
$custom: #1d0637;
$custom-light: #5c496e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0637",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 268.163,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19927,
    "c": 0.08882,
    "h": 299.7
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#1D0637
secondary
#4F7721
accent
#F7319A
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1D0637

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

Preview Lab → · Contrast checker → · Palette generator →

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