#1D0E45#1D0E45

#1D0E45 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.096 H 288.7°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#1D0E45
RGBrgb(29, 14, 69)
HSLhsl(256, 66%, 16%)
HSVhsv(256, 80%, 27%)
CMYKcmyk(58%, 79.7%, 0%, 72.9%)
CIE-LABlab(9.03, 23.82, -31.80)
CIE-LCHlch(9.03, 39.73, 306.84°)
OKLaboklab(22.63% 0.031 -0.0913)
OKLCHoklch(22.63% 0.096 288.7)
XYZxyz(1.7376, 1.0049, 5.7315)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0E45 #36450E
analogous
#0E1B45 #1D0E45 #390E45
triadic
#1D0E45 #451D0E #0E451D
tetradic
#1D0E45 #450E1B #36450E #0E4539
square
#1D0E45 #450E1B #36450E #0E4539
split-complementary
#1D0E45 #45390E #1B450E
monochromatic
#0B0519 #0B0519 #1D0E45 #321878 #4823AB

Accessibility & contrast

On white

17.49
#1D0E45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0E45
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0E45#FFFFFF#000000##FFFFFF
##1D0E451.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001844
Tritanopia (blue-blind)
#0E1C28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1d0e45;
/* rgb */ color: rgb(29, 14, 69);
/* oklch */ color: oklch(22.6% 0.096 288.7);
Tailwind
colors: {
  custom: {
    50: '#5e4e79',
    500: '#1d0e45',
    950: '#000000',
  },
}
SCSS
$custom: #1d0e45;
$custom-light: #5e4e79;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0e45",
  "rgb": {
    "r": 29,
    "g": 14,
    "b": 69
  },
  "hsl": {
    "h": 256.364,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22628,
    "c": 0.09644,
    "h": 288.7
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#1D0E45
secondary
#6A802F
accent
#E93FBB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0E45

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

Preview Lab → · Contrast checker → · Palette generator →

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