#1D0D3E#1D0D3E

#1D0D3E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.088 H 292.5°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#1D0D3E
RGBrgb(29, 13, 62)
HSLhsl(260, 65%, 15%)
HSVhsv(260, 79%, 24%)
CMYKcmyk(53.2%, 79%, 0%, 75.7%)
CIE-LABlab(8.10, 22.09, -28.35)
CIE-LCHlch(8.10, 35.94, 307.92°)
OKLaboklab(21.75% 0.0337 -0.0812)
OKLCHoklch(21.75% 0.088 292.5)
XYZxyz(1.5199, 0.8968, 4.6495)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0D3E #2E3E0D
analogous
#0D163E #1D0D3E #360D3E
triadic
#1D0D3E #3E1D0D #0D3E1D
tetradic
#1D0D3E #3E0D16 #2E3E0D #0D3E36
square
#1D0D3E #3E0D16 #2E3E0D #0D3E36
split-complementary
#1D0D3E #3E360D #163E0D
monochromatic
#0C0519 #0C0519 #1D0D3E #351871 #4C22A3

Accessibility & contrast

On white

17.81
#1D0D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1D0D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0D3E
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0D3E#FFFFFF#000000##FFFFFF
##1D0D3E1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00173D
Tritanopia (blue-blind)
#131924
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1d0d3e;
/* rgb */ color: rgb(29, 13, 62);
/* oklch */ color: oklch(21.7% 0.088 292.5);
Tailwind
colors: {
  custom: {
    50: '#5d4d74',
    500: '#1d0d3e',
    950: '#000000',
  },
}
SCSS
$custom: #1d0d3e;
$custom-light: #5d4d74;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0d3e",
  "rgb": {
    "r": 29,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 259.592,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21746,
    "c": 0.08792,
    "h": 292.5
  },
  "luminance": 0.00897
}

Semantic roles & 50–950 ramp

primary
#1D0D3E
secondary
#617A2D
accent
#E840B1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1D0D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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