#1A104A#1A104A

#1A104A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.101 H 283.0°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#1A104A
RGBrgb(26, 16, 74)
HSLhsl(250, 64%, 18%)
HSVhsv(250, 78%, 29%)
CMYKcmyk(64.9%, 78.4%, 0%, 71%)
CIE-LABlab(9.68, 23.75, -34.25)
CIE-LCHlch(9.68, 41.68, 304.74°)
OKLaboklab(23.17% 0.0228 -0.0986)
OKLCHoklch(23.17% 0.101 283)
XYZxyz(1.8469, 1.0845, 6.5892)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A104A #404A10
analogous
#10234A #1A104A #37104A
triadic
#1A104A #4A1A10 #104A1A
tetradic
#1A104A #4A1023 #404A10 #104A37
square
#1A104A #4A1023 #404A10 #104A37
split-complementary
#1A104A #4A3710 #234A10
monochromatic
#090519 #090519 #1A104A #2C1B7C #3D26AF

Accessibility & contrast

On white

17.26
#1A104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1A104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A104A
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A104A#FFFFFF#000000##FFFFFF
##1A104A1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001949
Tritanopia (blue-blind)
#01202B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1a104a;
/* rgb */ color: rgb(26, 16, 74);
/* oklch */ color: oklch(23.2% 0.101 283.0);
Tailwind
colors: {
  custom: {
    50: '#5d4f7d',
    500: '#1a104a',
    950: '#000000',
  },
}
SCSS
$custom: #1a104a;
$custom-light: #5d4f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a104a",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 250.345,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23166,
    "c": 0.10124,
    "h": 283
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#1A104A
secondary
#768432
accent
#E740CB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A104A

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

Preview Lab → · Contrast checker → · Palette generator →

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