#1D0F2D#1D0F2D

#1D0F2D is a very dark, muted violet. Relative luminance 0.008; OKLCH L 20.6% C 0.059 H 303.1°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#1D0F2D
RGBrgb(29, 15, 45)
HSLhsl(268, 50%, 12%)
HSVhsv(268, 67%, 18%)
CMYKcmyk(35.6%, 66.7%, 0%, 82.4%)
CIE-LABlab(7.16, 15.01, -17.48)
CIE-LCHlch(7.16, 23.04, 310.65°)
OKLaboklab(20.57% 0.0323 -0.0494)
OKLCHoklch(20.57% 0.059 303.1)
XYZxyz(1.1511, 0.7923, 2.5744)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F2D #1F2D0F
analogous
#0F102D #1D0F2D #2C0F2D
triadic
#1D0F2D #2D1D0F #0F2D1D
tetradic
#1D0F2D #2D0F10 #1F2D0F #0F2D2C
square
#1D0F2D #2D0F10 #1F2D0F #0F2D2C
split-complementary
#1D0F2D #2D2C0F #102D0F
monochromatic
#0F0817 #0F0817 #1D0F2D #3B1E5B #582E89

Accessibility & contrast

On white

18.13
#1D0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1D0F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F2D
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F2D#FFFFFF#000000##FFFFFF
##1D0F2D1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05162E
Deuteranopia (green-blind)
#09162C
Tritanopia (blue-blind)
#1A151C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1d0f2d;
/* rgb */ color: rgb(29, 15, 45);
/* oklch */ color: oklch(20.6% 0.059 303.1);
Tailwind
colors: {
  custom: {
    50: '#5a4d66',
    500: '#1d0f2d',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f2d;
$custom-light: #5a4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f2d",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 45
  },
  "hsl": {
    "h": 268,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20571,
    "c": 0.05903,
    "h": 303.1
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#1D0F2D
secondary
#4E6631
accent
#DA4E99
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1D0F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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