#1D012E#1D012E

#1D012E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.088 H 309.1°. Best body text is #FFFFFF at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#1D012E
RGBrgb(29, 1, 46)
HSLhsl(277, 96%, 9%)
HSVhsv(277, 98%, 18%)
CMYKcmyk(37%, 97.8%, 0%, 82%)
CIE-LABlab(4.34, 22.29, -22.70)
CIE-LCHlch(4.34, 31.81, 314.47°)
OKLaboklab(18.06% 0.0556 -0.0684)
OKLCHoklch(18.06% 0.088 309.1)
XYZxyz(1.0106, 0.4802, 2.6237)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D012E #122E01
analogous
#06012E #1D012E #2E0129
triadic
#1D012E #2E1D01 #012E1D
tetradic
#1D012E #2E0601 #122E01 #01292E
square
#1D012E #2E0601 #122E01 #01292E
split-complementary
#1D012E #292E01 #012E06
monochromatic
#13011E #13011E #1D012E #43026A #6904A6

Accessibility & contrast

On white

19.16
#1D012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1D012E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D012E
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D012E#FFFFFF#000000##FFFFFF
##1D012E1.0019.161.1019.16
#FFFFFF19.161.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#1A0B17
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1d012e;
/* rgb */ color: rgb(29, 1, 46);
/* oklch */ color: oklch(18.1% 0.088 309.1);
Tailwind
colors: {
  custom: {
    50: '#5a4667',
    500: '#1d012e',
    950: '#000000',
  },
}
SCSS
$custom: #1d012e;
$custom-light: #5a4667;
$custom-dark: #000000;
JSON
{
  "hex": "#1d012e",
  "rgb": {
    "r": 29,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 277.333,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.1806,
    "c": 0.08814,
    "h": 309.1
  },
  "luminance": 0.0048
}

Semantic roles & 50–950 ramp

primary
#1D012E
secondary
#3A7417
accent
#FF297A
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D012E

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

Preview Lab → · Contrast checker → · Palette generator →

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