#1A0841#1A0841

#1A0841 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.099 H 289.4°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#1A0841
RGBrgb(26, 8, 65)
HSLhsl(259, 78%, 14%)
HSVhsv(259, 88%, 25%)
CMYKcmyk(60%, 87.7%, 0%, 74.5%)
CIE-LABlab(7.00, 25.35, -32.31)
CIE-LCHlch(7.00, 41.06, 308.11°)
OKLaboklab(20.94% 0.0327 -0.0931)
OKLCHoklch(20.94% 0.099 289.4)
XYZxyz(1.4667, 0.7749, 5.0723)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0841 #2F4108
analogous
#081341 #1A0841 #370841
triadic
#1A0841 #411A08 #08411A
tetradic
#1A0841 #410813 #2F4108 #084137
square
#1A0841 #410813 #2F4108 #084137
split-complementary
#1A0841 #413708 #134108
monochromatic
#0B031B #0B031B #1A0841 #300F77 #4615AE

Accessibility & contrast

On white

18.18
#1A0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0841
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0841#FFFFFF#000000##FFFFFF
##1A08411.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#0B1824
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1a0841;
/* rgb */ color: rgb(26, 8, 65);
/* oklch */ color: oklch(20.9% 0.099 289.4);
Tailwind
colors: {
  custom: {
    50: '#5c4a76',
    500: '#1a0841',
    950: '#000000',
  },
}
SCSS
$custom: #1a0841;
$custom-light: #5c4a76;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0841",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 258.947,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20944,
    "c": 0.09871,
    "h": 289.4
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#1A0841
secondary
#637F25
accent
#F533B8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A0841

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

Preview Lab → · Contrast checker → · Palette generator →

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