#1D0A3E#1D0A3E

#1D0A3E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.092 H 293.7°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#1D0A3E
RGBrgb(29, 10, 62)
HSLhsl(262, 72%, 14%)
HSVhsv(262, 84%, 24%)
CMYKcmyk(53.2%, 83.9%, 0%, 75.7%)
CIE-LABlab(7.46, 23.86, -29.40)
CIE-LCHlch(7.46, 37.86, 309.06°)
OKLaboklab(21.28% 0.037 -0.0843)
OKLCHoklch(21.28% 0.092 293.7)
XYZxyz(1.4845, 0.8260, 4.6377)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0A3E #2B3E0A
analogous
#0A113E #1D0A3E #370A3E
triadic
#1D0A3E #3E1D0A #0A3E1D
tetradic
#1D0A3E #3E0A11 #2B3E0A #0A3E37
square
#1D0A3E #3E0A11 #2B3E0A #0A3E37
split-complementary
#1D0A3E #3E370A #113E0A
monochromatic
#0C041A #0C041A #1D0A3E #361373 #4E1BA7

Accessibility & contrast

On white

18.02
#1D0A3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1D0A3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0A3E
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0A3E#FFFFFF#000000##FFFFFF
##1D0A3E1.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173F
Deuteranopia (green-blind)
#00163D
Tritanopia (blue-blind)
#131823
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1d0a3e;
/* rgb */ color: rgb(29, 10, 62);
/* oklch */ color: oklch(21.3% 0.092 293.7);
Tailwind
colors: {
  custom: {
    50: '#5d4b74',
    500: '#1d0a3e',
    950: '#000000',
  },
}
SCSS
$custom: #1d0a3e;
$custom-light: #5d4b74;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0a3e",
  "rgb": {
    "r": 29,
    "g": 10,
    "b": 62
  },
  "hsl": {
    "h": 261.923,
    "s": 72.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21284,
    "c": 0.09211,
    "h": 293.7
  },
  "luminance": 0.00826
}

Semantic roles & 50–950 ramp

primary
#1D0A3E
secondary
#5D7B28
accent
#EF39AC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1D0A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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