#1D0E4A#1D0E4A

#1D0E4A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.103 H 286.7°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#1D0E4A
RGBrgb(29, 14, 74)
HSLhsl(255, 68%, 17%)
HSVhsv(255, 81%, 29%)
CMYKcmyk(60.8%, 81.1%, 0%, 71%)
CIE-LABlab(9.56, 25.52, -34.43)
CIE-LCHlch(9.56, 42.86, 306.54°)
OKLaboklab(23.16% 0.0297 -0.0991)
OKLCHoklch(23.16% 0.103 286.7)
XYZxyz(1.8994, 1.0696, 6.5836)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E4A #3B4A0E
analogous
#0E1D4A #1D0E4A #3B0E4A
triadic
#1D0E4A #4A1D0E #0E4A1D
tetradic
#1D0E4A #4A0E1D #3B4A0E #0E4A3B
square
#1D0E4A #4A0E1D #3B4A0E #0E4A3B
split-complementary
#1D0E4A #4A3B0E #1D4A0E
monochromatic
#0A051A #0A051A #1D0E4A #31187D #4521B1

Accessibility & contrast

On white

17.30
#1D0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0E4A
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E4A#FFFFFF#000000##FFFFFF
##1D0E4A1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#091E2B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1d0e4a;
/* rgb */ color: rgb(29, 14, 74);
/* oklch */ color: oklch(23.2% 0.103 286.7);
Tailwind
colors: {
  custom: {
    50: '#5f4e7d',
    500: '#1d0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e4a;
$custom-light: #5f4e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e4a",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 255,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23162,
    "c": 0.10341,
    "h": 286.7
  },
  "luminance": 0.0107
}

Semantic roles & 50–950 ramp

primary
#1D0E4A
secondary
#6F852F
accent
#EB3DBF
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1D0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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