#1D0739#1D0739

#1D0739 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.090 H 297.9°. Best body text is #FFFFFF at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#1D0739
RGBrgb(29, 7, 57)
HSLhsl(266, 78%, 13%)
HSVhsv(266, 88%, 22%)
CMYKcmyk(49.1%, 87.7%, 0%, 77.6%)
CIE-LABlab(6.40, 23.66, -27.51)
CIE-LCHlch(6.40, 36.29, 310.69°)
OKLaboklab(20.3% 0.042 -0.0793)
OKLCHoklch(20.3% 0.09 297.9)
XYZxyz(1.3210, 0.7086, 3.9373)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0739 #233907
analogous
#070A39 #1D0739 #360739
triadic
#1D0739 #391D07 #07391D
tetradic
#1D0739 #39070A #233907 #073936
square
#1D0739 #39070A #233907 #073936
split-complementary
#1D0739 #393607 #0A3907
monochromatic
#0E031B #0E031B #1D0739 #390E70 #5414A6

Accessibility & contrast

On white

18.39
#1D0739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0739
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0739#FFFFFF#000000##FFFFFF
##1D07391.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001438
Tritanopia (blue-blind)
#16141F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d0739;
/* rgb */ color: rgb(29, 7, 57);
/* oklch */ color: oklch(20.3% 0.090 297.9);
Tailwind
colors: {
  custom: {
    50: '#5c4970',
    500: '#1d0739',
    950: '#000000',
  },
}
SCSS
$custom: #1d0739;
$custom-light: #5c4970;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0739",
  "rgb": {
    "r": 29,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 266.4,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.203,
    "c": 0.08978,
    "h": 297.9
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#1D0739
secondary
#537923
accent
#F533A0
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1D0739

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

Preview Lab → · Contrast checker → · Palette generator →

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