#1D022E#1D022E

#1D022E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.086 H 308.7°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#1D022E
RGBrgb(29, 2, 46)
HSLhsl(277, 92%, 9%)
HSVhsv(277, 96%, 18%)
CMYKcmyk(37%, 95.7%, 0%, 82%)
CIE-LABlab(4.53, 21.83, -22.39)
CIE-LCHlch(4.53, 31.27, 314.27°)
OKLaboklab(18.26% 0.0537 -0.067)
OKLCHoklch(18.26% 0.086 308.7)
XYZxyz(1.0214, 0.5019, 2.6273)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D022E #132E02
analogous
#07022E #1D022E #2E0229
triadic
#1D022E #2E1D02 #022E1D
tetradic
#1D022E #2E0702 #132E02 #02292E
square
#1D022E #2E0702 #132E02 #02292E
split-complementary
#1D022E #292E02 #022E07
monochromatic
#12011D #12011D #1D022E #420569 #6707A3

Accessibility & contrast

On white

19.08
#1D022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D022E
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D022E#FFFFFF#000000##FFFFFF
##1D022E1.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#1A0C17
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1d022e;
/* rgb */ color: rgb(29, 2, 46);
/* oklch */ color: oklch(18.3% 0.086 308.7);
Tailwind
colors: {
  custom: {
    50: '#5a4767',
    500: '#1d022e',
    950: '#000000',
  },
}
SCSS
$custom: #1d022e;
$custom-light: #5a4767;
$custom-dark: #000000;
JSON
{
  "hex": "#1d022e",
  "rgb": {
    "r": 29,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 276.818,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.1826,
    "c": 0.08585,
    "h": 308.7
  },
  "luminance": 0.00502
}

Semantic roles & 50–950 ramp

primary
#1D022E
secondary
#3C7319
accent
#FF297C
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1D022E

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

Preview Lab → · Contrast checker → · Palette generator →

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