#1A0D4A#1A0D4A

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

Color values

HEX#1A0D4A
RGBrgb(26, 13, 74)
HSLhsl(253, 70%, 17%)
HSVhsv(253, 82%, 29%)
CMYKcmyk(64.9%, 82.4%, 0%, 71%)
CIE-LABlab(9.01, 25.63, -35.35)
CIE-LCHlch(9.01, 43.66, 305.94°)
OKLaboklab(22.69% 0.0254 -0.1019)
OKLCHoklch(22.69% 0.105 284)
XYZxyz(1.8056, 1.0018, 6.5755)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D4A #3D4A0D
analogous
#0D1F4A #1A0D4A #390D4A
triadic
#1A0D4A #4A1A0D #0D4A1A
tetradic
#1A0D4A #4A0D1F #3D4A0D #0D4A39
square
#1A0D4A #4A0D1F #3D4A0D #0D4A39
split-complementary
#1A0D4A #4A390D #1F4A0D
monochromatic
#09051A #09051A #1A0D4A #2C167E #3F1FB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A0D4A#FFFFFF#000000##FFFFFF
##1A0D4A1.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)
#001B4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#011E2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1a0d4a;
/* rgb */ color: rgb(26, 13, 74);
/* oklch */ color: oklch(22.7% 0.105 284.0);
Tailwind
colors: {
  custom: {
    50: '#5e4d7d',
    500: '#1a0d4a',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d4a;
$custom-light: #5e4d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d4a",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 74
  },
  "hsl": {
    "h": 252.787,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22691,
    "c": 0.10499,
    "h": 284
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#1A0D4A
secondary
#73852E
accent
#ED3BC7
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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