#1D0A4E#1D0A4E

#1D0A4E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.1% C 0.113 H 286.3°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#1D0A4E
RGBrgb(29, 10, 78)
HSLhsl(257, 77%, 17%)
HSVhsv(257, 87%, 31%)
CMYKcmyk(62.8%, 87.2%, 0%, 69.4%)
CIE-LABlab(9.22, 29.08, -37.76)
CIE-LCHlch(9.22, 47.66, 307.60°)
OKLaboklab(23.06% 0.0317 -0.1087)
OKLCHoklch(23.06% 0.113 286.3)
XYZxyz(1.9900, 1.0282, 7.2999)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0A4E #3B4E0A
analogous
#0A194E #1D0A4E #3F0A4E
triadic
#1D0A4E #4E1D0A #0A4E1D
tetradic
#1D0A4E #4E0A19 #3B4E0A #0A4E3F
square
#1D0A4E #4E0A19 #3B4E0A #0A4E3F
split-complementary
#1D0A4E #4E3F0A #194E0A
monochromatic
#0A031B #0A031B #1D0A4E #311184 #4518BA

Accessibility & contrast

On white

17.42
#1D0A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0A4E
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0A4E#FFFFFF#000000##FFFFFF
##1D0A4E1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#051E2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1d0a4e;
/* rgb */ color: rgb(29, 10, 78);
/* oklch */ color: oklch(23.1% 0.113 286.3);
Tailwind
colors: {
  custom: {
    50: '#614c80',
    500: '#1d0a4e',
    950: '#000000',
  },
}
SCSS
$custom: #1d0a4e;
$custom-light: #614c80;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0a4e",
  "rgb": {
    "r": 29,
    "g": 10,
    "b": 78
  },
  "hsl": {
    "h": 256.765,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.23064,
    "c": 0.11327,
    "h": 286.3
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#1D0A4E
secondary
#6F8B29
accent
#F434BE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #1D0A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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