#1D0A45#1D0A45

#1D0A45 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.101 H 290.1°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#1D0A45
RGBrgb(29, 10, 69)
HSLhsl(259, 75%, 15%)
HSVhsv(259, 86%, 27%)
CMYKcmyk(58%, 85.5%, 0%, 72.9%)
CIE-LABlab(8.20, 26.17, -33.16)
CIE-LCHlch(8.20, 42.24, 308.28°)
OKLaboklab(22.04% 0.0349 -0.0953)
OKLCHoklch(22.04% 0.101 290.1)
XYZxyz(1.6891, 0.9079, 5.7153)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0A45 #32450A
analogous
#0A1445 #1D0A45 #3A0A45
triadic
#1D0A45 #451D0A #0A451D
tetradic
#1D0A45 #450A14 #32450A #0A453A
square
#1D0A45 #450A14 #32450A #0A453A
split-complementary
#1D0A45 #453A0A #14450A
monochromatic
#0B041B #0B041B #1D0A45 #33127A #4A19B0

Accessibility & contrast

On white

17.77
#1D0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1D0A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0A45
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0A45#FFFFFF#000000##FFFFFF
##1D0A451.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001744
Tritanopia (blue-blind)
#0E1B27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1d0a45;
/* rgb */ color: rgb(29, 10, 69);
/* oklch */ color: oklch(22.0% 0.101 290.1);
Tailwind
colors: {
  custom: {
    50: '#5f4b79',
    500: '#1d0a45',
    950: '#000000',
  },
}
SCSS
$custom: #1d0a45;
$custom-light: #5f4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0a45",
  "rgb": {
    "r": 29,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 259.322,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22041,
    "c": 0.10148,
    "h": 290.1
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#1D0A45
secondary
#658229
accent
#F136B5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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