#1A0129#1A0129

#1A0129 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.082 H 309.9°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#1A0129
RGBrgb(26, 1, 41)
HSLhsl(278, 95%, 8%)
HSVhsv(278, 98%, 16%)
CMYKcmyk(36.6%, 97.6%, 0%, 83.9%)
CIE-LABlab(3.63, 18.66, -20.06)
CIE-LCHlch(3.63, 27.39, 312.93°)
OKLaboklab(16.99% 0.0525 -0.0629)
OKLCHoklch(16.99% 0.082 309.9)
XYZxyz(0.8370, 0.4014, 2.1308)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0129 #102901
analogous
#060129 #1A0129 #290124
triadic
#1A0129 #291A01 #01291A
tetradic
#1A0129 #290601 #102901 #012429
square
#1A0129 #290601 #102901 #012429
split-complementary
#1A0129 #242901 #012906
monochromatic
#13011E #13011E #1A0129 #400265 #6604A0

Accessibility & contrast

On white

19.44
#1A0129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0129
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0129#FFFFFF#000000##FFFFFF
##1A01291.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2A
Deuteranopia (green-blind)
#000D28
Tritanopia (blue-blind)
#180914
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1a0129;
/* rgb */ color: rgb(26, 1, 41);
/* oklch */ color: oklch(17.0% 0.082 309.9);
Tailwind
colors: {
  custom: {
    50: '#574663',
    500: '#1a0129',
    950: '#000000',
  },
}
SCSS
$custom: #1a0129;
$custom-light: #574663;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0129",
  "rgb": {
    "r": 26,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 277.5,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.16994,
    "c": 0.08189,
    "h": 309.9
  },
  "luminance": 0.00401
}

Semantic roles & 50–950 ramp

primary
#1A0129
secondary
#386F16
accent
#FF2979
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#030005
muted
#787779

Preview Lab

Preview with #1A0129

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

Preview Lab → · Contrast checker → · Palette generator →

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