#1D022B#1D022B

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

Color values

HEX#1D022B
RGBrgb(29, 2, 43)
HSLhsl(280, 91%, 9%)
HSVhsv(280, 95%, 17%)
CMYKcmyk(32.6%, 95.3%, 0%, 83.1%)
CIE-LABlab(4.33, 20.63, -20.45)
CIE-LCHlch(4.33, 29.05, 315.24°)
OKLaboklab(17.95% 0.0547 -0.0618)
OKLCHoklch(17.95% 0.083 311.5)
XYZxyz(0.9644, 0.4791, 2.3267)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D022B #102B02
analogous
#09022B #1D022B #2B0225
triadic
#1D022B #2B1D02 #022B1D
tetradic
#1D022B #2B0902 #102B02 #02252B
square
#1D022B #2B0902 #102B02 #02252B
split-complementary
#1D022B #252B02 #022B09
monochromatic
#14011D #14011D #1D022B #440565 #6C07A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D022B#FFFFFF#000000##FFFFFF
##1D022B1.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)
#000E2C
Deuteranopia (green-blind)
#00102A
Tritanopia (blue-blind)
#1B0A16
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1d022b;
/* rgb */ color: rgb(29, 2, 43);
/* oklch */ color: oklch(18.0% 0.083 311.5);
Tailwind
colors: {
  custom: {
    50: '#5a4764',
    500: '#1d022b',
    950: '#000000',
  },
}
SCSS
$custom: #1d022b;
$custom-light: #5a4764;
$custom-dark: #000000;
JSON
{
  "hex": "#1d022b",
  "rgb": {
    "r": 29,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 279.512,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.17953,
    "c": 0.08256,
    "h": 311.5
  },
  "luminance": 0.00479
}

Semantic roles & 50–950 ramp

primary
#1D022B
secondary
#377019
accent
#FF2972
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1D022B

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

Preview Lab → · Contrast checker → · Palette generator →

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