#1D0E47#1D0E47

#1D0E47 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.099 H 287.9°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#1D0E47
RGBrgb(29, 14, 71)
HSLhsl(256, 67%, 17%)
HSVhsv(256, 80%, 28%)
CMYKcmyk(59.2%, 80.3%, 0%, 72.2%)
CIE-LABlab(9.24, 24.50, -32.86)
CIE-LCHlch(9.24, 40.99, 306.71°)
OKLaboklab(22.84% 0.0305 -0.0945)
OKLCHoklch(22.84% 0.099 287.9)
XYZxyz(1.8007, 1.0301, 6.0640)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E47 #38470E
analogous
#0E1C47 #1D0E47 #3A0E47
triadic
#1D0E47 #471D0E #0E471D
tetradic
#1D0E47 #470E1C #38470E #0E473A
square
#1D0E47 #470E1C #38470E #0E473A
split-complementary
#1D0E47 #473A0E #1C470E
monochromatic
#0A051A #0A051A #1D0E47 #32187A #4722AD

Accessibility & contrast

On white

17.41
#1D0E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1D0E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0E47
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E47#FFFFFF#000000##FFFFFF
##1D0E471.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001846
Tritanopia (blue-blind)
#0C1D29
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1d0e47;
/* rgb */ color: rgb(29, 14, 71);
/* oklch */ color: oklch(22.8% 0.099 287.9);
Tailwind
colors: {
  custom: {
    50: '#5f4e7b',
    500: '#1d0e47',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e47;
$custom-light: #5f4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e47",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 255.789,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2284,
    "c": 0.09925,
    "h": 287.9
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#1D0E47
secondary
#6C822F
accent
#EA3EBD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0E47

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

Preview Lab → · Contrast checker → · Palette generator →

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