#1D0E2F#1D0E2F

#1D0E2F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.5% C 0.064 H 302.0°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#1D0E2F
RGBrgb(29, 14, 47)
HSLhsl(267, 54%, 12%)
HSVhsv(267, 70%, 18%)
CMYKcmyk(38.3%, 70.2%, 0%, 81.6%)
CIE-LABlab(7.05, 16.31, -19.13)
CIE-LCHlch(7.05, 25.14, 310.45°)
OKLaboklab(20.54% 0.034 -0.0543)
OKLCHoklch(20.54% 0.064 302)
XYZxyz(1.1767, 0.7805, 2.7774)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E2F #202F0E
analogous
#0E102F #1D0E2F #2E0E2F
triadic
#1D0E2F #2F1D0E #0E2F1D
tetradic
#1D0E2F #2F0E10 #202F0E #0E2F2E
square
#1D0E2F #2F0E10 #202F0E #0E2F2E
split-complementary
#1D0E2F #2F2E0E #102F0E
monochromatic
#0F0718 #0F0718 #1D0E2F #3A1C5E #572A8D

Accessibility & contrast

On white

18.16
#1D0E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0E2F
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E2F#FFFFFF#000000##FFFFFF
##1D0E2F1.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021530
Deuteranopia (green-blind)
#06152E
Tritanopia (blue-blind)
#19151C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1d0e2f;
/* rgb */ color: rgb(29, 14, 47);
/* oklch */ color: oklch(20.5% 0.064 302.0);
Tailwind
colors: {
  custom: {
    50: '#5a4d68',
    500: '#1d0e2f',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e2f;
$custom-light: #5a4d68;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e2f",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 267.273,
    "s": 54.098,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20536,
    "c": 0.06407,
    "h": 302
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#1D0E2F
secondary
#4F692F
accent
#DD4A9B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1D0E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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