#1D0A4A#1D0A4A

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

Color values

HEX#1D0A4A
RGBrgb(29, 10, 74)
HSLhsl(258, 76%, 16%)
HSVhsv(258, 86%, 29%)
CMYKcmyk(60.8%, 86.5%, 0%, 71%)
CIE-LABlab(8.76, 27.79, -35.74)
CIE-LCHlch(8.76, 45.28, 307.87°)
OKLaboklab(22.6% 0.0332 -0.1029)
OKLCHoklch(22.6% 0.108 287.9)
XYZxyz(1.8509, 0.9726, 6.5674)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0A4A #374A0A
analogous
#0A174A #1D0A4A #3D0A4A
triadic
#1D0A4A #4A1D0A #0A4A1D
tetradic
#1D0A4A #4A0A17 #374A0A #0A4A3D
square
#1D0A4A #4A0A17 #374A0A #0A4A3D
split-complementary
#1D0A4A #4A3D0A #174A0A
monochromatic
#0B041B #0B041B #1D0A4A #321180 #4719B6

Accessibility & contrast

On white

17.58
#1D0A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1D0A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0A4A
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0A4A#FFFFFF#000000##FFFFFF
##1D0A4A1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#0A1D2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1d0a4a;
/* rgb */ color: rgb(29, 10, 74);
/* oklch */ color: oklch(22.6% 0.108 287.9);
Tailwind
colors: {
  custom: {
    50: '#604c7d',
    500: '#1d0a4a',
    950: '#000000',
  },
}
SCSS
$custom: #1d0a4a;
$custom-light: #604c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0a4a",
  "rgb": {
    "r": 29,
    "g": 10,
    "b": 74
  },
  "hsl": {
    "h": 257.813,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22603,
    "c": 0.10808,
    "h": 287.9
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#1D0A4A
secondary
#6B8729
accent
#F335BA
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1D0A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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