#1A0A41#1A0A41

#1A0A41 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.096 H 288.7°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#1A0A41
RGBrgb(26, 10, 65)
HSLhsl(257, 73%, 15%)
HSVhsv(257, 85%, 25%)
CMYKcmyk(60%, 84.6%, 0%, 74.5%)
CIE-LABlab(7.39, 24.27, -31.67)
CIE-LCHlch(7.39, 39.90, 307.46°)
OKLaboklab(21.24% 0.0308 -0.0911)
OKLCHoklch(21.24% 0.096 288.7)
XYZxyz(1.4884, 0.8183, 5.0795)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0A41 #31410A
analogous
#0A1541 #1A0A41 #360A41
triadic
#1A0A41 #411A0A #0A411A
tetradic
#1A0A41 #410A15 #31410A #0A4136
square
#1A0A41 #410A15 #31410A #0A4136
split-complementary
#1A0A41 #41360A #15410A
monochromatic
#0B041B #0B041B #1A0A41 #2F1276 #441AAB

Accessibility & contrast

On white

18.05
#1A0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1A0A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0A41
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0A41#FFFFFF#000000##FFFFFF
##1A0A411.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#0B1925
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1a0a41;
/* rgb */ color: rgb(26, 10, 65);
/* oklch */ color: oklch(21.2% 0.096 288.7);
Tailwind
colors: {
  custom: {
    50: '#5c4b76',
    500: '#1a0a41',
    950: '#000000',
  },
}
SCSS
$custom: #1a0a41;
$custom-light: #5c4b76;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0a41",
  "rgb": {
    "r": 26,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 257.455,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21239,
    "c": 0.09619,
    "h": 288.7
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#1A0A41
secondary
#657E29
accent
#F038BA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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