#1A1044#1A1044

#1A1044 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.092 H 285.0°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#1A1044
RGBrgb(26, 16, 68)
HSLhsl(252, 62%, 16%)
HSVhsv(252, 76%, 27%)
CMYKcmyk(61.8%, 76.5%, 0%, 73.3%)
CIE-LABlab(9.05, 21.59, -31.07)
CIE-LCHlch(9.05, 37.83, 304.79°)
OKLaboklab(22.53% 0.024 -0.0893)
OKLCHoklch(22.53% 0.093 285)
XYZxyz(1.6544, 1.0075, 5.5750)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A1044 #3A4410
analogous
#102044 #1A1044 #341044
triadic
#1A1044 #441A10 #10441A
tetradic
#1A1044 #441020 #3A4410 #104434
square
#1A1044 #441020 #3A4410 #104434
split-complementary
#1A1044 #443410 #204410
monochromatic
#090619 #090619 #1A1044 #2D1C76 #4027A7

Accessibility & contrast

On white

17.48
#1A1044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A1044
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A1044#FFFFFF#000000##FFFFFF
##1A10441.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001843
Tritanopia (blue-blind)
#071D28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1a1044;
/* rgb */ color: rgb(26, 16, 68);
/* oklch */ color: oklch(22.5% 0.092 285.0);
Tailwind
colors: {
  custom: {
    50: '#5c4f78',
    500: '#1a1044',
    950: '#000000',
  },
}
SCSS
$custom: #1a1044;
$custom-light: #5c4f78;
$custom-dark: #000000;
JSON
{
  "hex": "#1a1044",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 251.538,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22529,
    "c": 0.0925,
    "h": 285
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#1A1044
secondary
#6F7E32
accent
#E543C6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040209
muted
#79787B

Preview Lab

Preview with #1A1044

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

Preview Lab → · Contrast checker → · Palette generator →

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