#1D052E#1D052E

#1D052E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.079 H 307.4°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#1D052E
RGBrgb(29, 5, 46)
HSLhsl(275, 80%, 10%)
HSVhsv(275, 89%, 18%)
CMYKcmyk(37%, 89.1%, 0%, 82%)
CIE-LABlab(5.12, 20.46, -21.46)
CIE-LCHlch(5.12, 29.65, 313.63°)
OKLaboklab(18.84% 0.0482 -0.0631)
OKLCHoklch(18.84% 0.079 307.4)
XYZxyz(1.0540, 0.5670, 2.6382)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D052E #162E05
analogous
#09052E #1D052E #2E052A
triadic
#1D052E #2E1D05 #052E1D
tetradic
#1D052E #2E0905 #162E05 #052A2E
square
#1D052E #2E0905 #162E05 #052A2E
split-complementary
#1D052E #2A2E05 #052E09
monochromatic
#11031C #11031C #1D052E #400B65 #63119C

Accessibility & contrast

On white

18.86
#1D052E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1D052E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D052E
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D052E#FFFFFF#000000##FFFFFF
##1D052E1.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#1A0E18
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1d052e;
/* rgb */ color: rgb(29, 5, 46);
/* oklch */ color: oklch(18.8% 0.079 307.4);
Tailwind
colors: {
  custom: {
    50: '#5a4867',
    500: '#1d052e',
    950: '#000000',
  },
}
SCSS
$custom: #1d052e;
$custom-light: #5a4867;
$custom-dark: #000000;
JSON
{
  "hex": "#1d052e",
  "rgb": {
    "r": 29,
    "g": 5,
    "b": 46
  },
  "hsl": {
    "h": 275.122,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.18836,
    "c": 0.07941,
    "h": 307.4
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#1D052E
secondary
#41701F
accent
#F73183
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D052E

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

Preview Lab → · Contrast checker → · Palette generator →

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