#1A0436#1A0436

#1A0436 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.091 H 297.4°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#1A0436
RGBrgb(26, 4, 54)
HSLhsl(266, 86%, 11%)
HSVhsv(266, 93%, 21%)
CMYKcmyk(51.9%, 92.6%, 0%, 78.8%)
CIE-LABlab(5.17, 23.02, -27.33)
CIE-LCHlch(5.17, 35.73, 310.11°)
OKLaboklab(19.04% 0.0417 -0.0804)
OKLCHoklch(19.04% 0.091 297.4)
XYZxyz(1.1351, 0.5728, 3.5401)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0436 #203604
analogous
#040736 #1A0436 #330436
triadic
#1A0436 #361A04 #04361A
tetradic
#1A0436 #360407 #203604 #043633
square
#1A0436 #360407 #203604 #043633
split-complementary
#1A0436 #363304 #073604
monochromatic
#0E021C #0E021C #1A0436 #35086F #510CA8

Accessibility & contrast

On white

18.84
#1A0436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1A0436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0436
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0436#FFFFFF#000000##FFFFFF
##1A04361.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001137
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#13111D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1a0436;
/* rgb */ color: rgb(26, 4, 54);
/* oklch */ color: oklch(19.0% 0.091 297.4);
Tailwind
colors: {
  custom: {
    50: '#5a476d',
    500: '#1a0436',
    950: '#000000',
  },
}
SCSS
$custom: #1a0436;
$custom-light: #5a476d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0436",
  "rgb": {
    "r": 26,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 266.4,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19035,
    "c": 0.09053,
    "h": 297.4
  },
  "luminance": 0.00573
}

Semantic roles & 50–950 ramp

primary
#1A0436
secondary
#50781E
accent
#FC2BA0
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1A0436

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

Preview Lab → · Contrast checker → · Palette generator →

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