#1A0D4C#1A0D4C

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

Color values

HEX#1A0D4C
RGBrgb(26, 13, 76)
HSLhsl(252, 71%, 17%)
HSVhsv(252, 83%, 30%)
CMYKcmyk(65.8%, 82.9%, 0%, 70.2%)
CIE-LABlab(9.23, 26.32, -36.37)
CIE-LCHlch(9.23, 44.90, 305.89°)
OKLaboklab(22.92% 0.0249 -0.1048)
OKLCHoklch(22.92% 0.108 283.3)
XYZxyz(1.8740, 1.0291, 6.9360)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D4C #3F4C0D
analogous
#0D1F4C #1A0D4C #3A0D4C
triadic
#1A0D4C #4C1A0D #0D4C1A
tetradic
#1A0D4C #4C0D1F #3F4C0D #0D4C3A
square
#1A0D4C #4C0D1F #3F4C0D #0D4C3A
split-complementary
#1A0D4C #4C3A0D #1F4C0D
monochromatic
#09041A #09041A #1A0D4C #2C1680 #3E1FB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A0D4C#FFFFFF#000000##FFFFFF
##1A0D4C1.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)
#001C4E
Deuteranopia (green-blind)
#00184B
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1a0d4c;
/* rgb */ color: rgb(26, 13, 76);
/* oklch */ color: oklch(22.9% 0.108 283.3);
Tailwind
colors: {
  custom: {
    50: '#5e4d7f',
    500: '#1a0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d4c;
$custom-light: #5e4d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d4c",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 252.381,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22918,
    "c": 0.10774,
    "h": 283.3
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#1A0D4C
secondary
#75872E
accent
#EE3AC9
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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