#1A0029#1A0029

#1A0029 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.085 H 310.4°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#1A0029
RGBrgb(26, 0, 41)
HSLhsl(278, 100%, 8%)
HSVhsv(278, 100%, 16%)
CMYKcmyk(36.6%, 100%, 0%, 83.9%)
CIE-LABlab(3.43, 19.06, -20.37)
CIE-LCHlch(3.43, 27.89, 313.10°)
OKLaboklab(16.76% 0.0548 -0.0645)
OKLCHoklch(16.76% 0.085 310.4)
XYZxyz(0.8262, 0.3797, 2.1272)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0029 #0F2900
analogous
#060029 #1A0029 #290023
triadic
#1A0029 #291A00 #00291A
tetradic
#1A0029 #290600 #0F2900 #002329
square
#1A0029 #290600 #0F2900 #002329
split-complementary
#1A0029 #232900 #002906
monochromatic
#13001F #13001F #1A0029 #410066 #6800A3

Accessibility & contrast

On white

19.52
#1A0029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1A0029 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0029
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0029#FFFFFF#000000##FFFFFF
##1A00291.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2A
Deuteranopia (green-blind)
#000D28
Tritanopia (blue-blind)
#180814
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1a0029;
/* rgb */ color: rgb(26, 0, 41);
/* oklch */ color: oklch(16.8% 0.085 310.4);
Tailwind
colors: {
  custom: {
    50: '#574663',
    500: '#1a0029',
    950: '#000000',
  },
}
SCSS
$custom: #1a0029;
$custom-light: #574663;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0029",
  "rgb": {
    "r": 26,
    "g": 0,
    "b": 41
  },
  "hsl": {
    "h": 278.049,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.16762,
    "c": 0.08461,
    "h": 310.4
  },
  "luminance": 0.0038
}

Semantic roles & 50–950 ramp

primary
#1A0029
secondary
#367114
accent
#FF2977
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#030005
muted
#787779

Preview Lab

Preview with #1A0029

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

Preview Lab → · Contrast checker → · Palette generator →

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