#1D0737#1D0737

#1D0737 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.087 H 299.3°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#1D0737
RGBrgb(29, 7, 55)
HSLhsl(268, 77%, 12%)
HSVhsv(268, 87%, 22%)
CMYKcmyk(47.3%, 87.3%, 0%, 78.4%)
CIE-LABlab(6.22, 22.92, -26.35)
CIE-LCHlch(6.22, 34.92, 311.02°)
OKLaboklab(20.09% 0.0427 -0.076)
OKLCHoklch(20.09% 0.087 299.3)
XYZxyz(1.2721, 0.6890, 3.6797)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0737 #213707
analogous
#070937 #1D0737 #350737
triadic
#1D0737 #371D07 #07371D
tetradic
#1D0737 #370709 #213707 #073735
square
#1D0737 #370709 #213707 #073735
split-complementary
#1D0737 #373507 #093707
monochromatic
#0E031B #0E031B #1D0737 #3A0E6D #5615A4

Accessibility & contrast

On white

18.46
#1D0737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1D0737 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0737
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0737#FFFFFF#000000##FFFFFF
##1D07371.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d0737;
/* rgb */ color: rgb(29, 7, 55);
/* oklch */ color: oklch(20.1% 0.087 299.3);
Tailwind
colors: {
  custom: {
    50: '#5c496e',
    500: '#1d0737',
    950: '#000000',
  },
}
SCSS
$custom: #1d0737;
$custom-light: #5c496e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0737",
  "rgb": {
    "r": 29,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 267.5,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20091,
    "c": 0.08718,
    "h": 299.3
  },
  "luminance": 0.00689
}

Semantic roles & 50–950 ramp

primary
#1D0737
secondary
#507723
accent
#F4349C
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1D0737

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

Preview Lab → · Contrast checker → · Palette generator →

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