#1A0940#1A0940

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

Color values

HEX#1A0940
RGBrgb(26, 9, 64)
HSLhsl(259, 75%, 14%)
HSVhsv(259, 86%, 25%)
CMYKcmyk(59.4%, 85.9%, 0%, 74.9%)
CIE-LABlab(7.09, 24.44, -31.45)
CIE-LCHlch(7.09, 39.83, 307.85°)
OKLaboklab(20.98% 0.0321 -0.0906)
OKLCHoklch(20.98% 0.096 289.5)
XYZxyz(1.4488, 0.7851, 4.9247)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0940 #2F4009
analogous
#091440 #1A0940 #360940
triadic
#1A0940 #401A09 #09401A
tetradic
#1A0940 #400914 #2F4009 #094036
square
#1A0940 #400914 #2F4009 #094036
split-complementary
#1A0940 #403609 #144009
monochromatic
#0B041B #0B041B #1A0940 #301176 #4618AB

Accessibility & contrast

On white

18.15
#1A0940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0940
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0940#FFFFFF#000000##FFFFFF
##1A09401.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00143F
Tritanopia (blue-blind)
#0C1824
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1a0940;
/* rgb */ color: rgb(26, 9, 64);
/* oklch */ color: oklch(21.0% 0.096 289.5);
Tailwind
colors: {
  custom: {
    50: '#5c4a75',
    500: '#1a0940',
    950: '#000000',
  },
}
SCSS
$custom: #1a0940;
$custom-light: #5c4a75;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0940",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 258.545,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.2098,
    "c": 0.09608,
    "h": 289.5
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#1A0940
secondary
#637E27
accent
#F236B8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A0940

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

Preview Lab → · Contrast checker → · Palette generator →

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