#1D052B#1D052B

#1D052B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.076 H 310.2°. Best body text is #FFFFFF at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#1D052B
RGBrgb(29, 5, 43)
HSLhsl(278, 79%, 9%)
HSVhsv(278, 88%, 17%)
CMYKcmyk(32.6%, 88.4%, 0%, 83.1%)
CIE-LABlab(4.92, 19.29, -19.52)
CIE-LCHlch(4.92, 27.45, 314.66°)
OKLaboklab(18.55% 0.0489 -0.0578)
OKLCHoklch(18.55% 0.076 310.2)
XYZxyz(0.9969, 0.5442, 2.3376)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D052B #132B05
analogous
#0A052B #1D052B #2B0526
triadic
#1D052B #2B1D05 #052B1D
tetradic
#1D052B #2B0A05 #132B05 #05262B
square
#1D052B #2B0A05 #132B05 #05262B
split-complementary
#1D052B #262B05 #052B0A
monochromatic
#12031B #12031B #1D052B #420B62 #671299

Accessibility & contrast

On white

18.94
#1D052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D052B
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D052B#FFFFFF#000000##FFFFFF
##1D052B1.0018.941.1118.94
#FFFFFF18.941.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102C
Deuteranopia (green-blind)
#01112A
Tritanopia (blue-blind)
#1B0D17
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1d052b;
/* rgb */ color: rgb(29, 5, 43);
/* oklch */ color: oklch(18.5% 0.076 310.2);
Tailwind
colors: {
  custom: {
    50: '#5a4864',
    500: '#1d052b',
    950: '#000000',
  },
}
SCSS
$custom: #1d052b;
$custom-light: #5a4864;
$custom-dark: #000000;
JSON
{
  "hex": "#1d052b",
  "rgb": {
    "r": 29,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 277.895,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18549,
    "c": 0.07572,
    "h": 310.2
  },
  "luminance": 0.00544
}

Semantic roles & 50–950 ramp

primary
#1D052B
secondary
#3C6D1F
accent
#F6327A
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040005
muted
#79777A

Preview Lab

Preview with #1D052B

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

Preview Lab → · Contrast checker → · Palette generator →

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