#1D0E46#1D0E46

#1D0E46 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.098 H 288.3°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#1D0E46
RGBrgb(29, 14, 70)
HSLhsl(256, 67%, 16%)
HSVhsv(256, 80%, 27%)
CMYKcmyk(58.6%, 80%, 0%, 72.5%)
CIE-LABlab(9.14, 24.16, -32.33)
CIE-LCHlch(9.14, 40.36, 306.77°)
OKLaboklab(22.73% 0.0307 -0.0929)
OKLCHoklch(22.73% 0.098 288.3)
XYZxyz(1.7689, 1.0174, 5.8963)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E46 #37460E
analogous
#0E1B46 #1D0E46 #390E46
triadic
#1D0E46 #461D0E #0E461D
tetradic
#1D0E46 #460E1B #37460E #0E4639
square
#1D0E46 #460E1B #37460E #0E4639
split-complementary
#1D0E46 #46390E #1B460E
monochromatic
#0B051A #0B051A #1D0E46 #321879 #4722AC

Accessibility & contrast

On white

17.45
#1D0E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1D0E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0E46
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E46#FFFFFF#000000##FFFFFF
##1D0E461.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001845
Tritanopia (blue-blind)
#0D1D29
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1d0e46;
/* rgb */ color: rgb(29, 14, 70);
/* oklch */ color: oklch(22.7% 0.098 288.3);
Tailwind
colors: {
  custom: {
    50: '#5e4e7a',
    500: '#1d0e46',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e46;
$custom-light: #5e4e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e46",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 70
  },
  "hsl": {
    "h": 256.071,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22733,
    "c": 0.09785,
    "h": 288.3
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#1D0E46
secondary
#6B812F
accent
#EA3EBC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0E46

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

Preview Lab → · Contrast checker → · Palette generator →

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