#1A0941#1A0941

#1A0941 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.097 H 289.0°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#1A0941
RGBrgb(26, 9, 65)
HSLhsl(258, 76%, 15%)
HSVhsv(258, 86%, 25%)
CMYKcmyk(60%, 86.2%, 0%, 74.5%)
CIE-LABlab(7.20, 24.80, -31.99)
CIE-LCHlch(7.20, 40.48, 307.79°)
OKLaboklab(21.09% 0.0317 -0.0921)
OKLCHoklch(21.09% 0.097 289)
XYZxyz(1.4775, 0.7966, 5.0759)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0941 #304109
analogous
#091441 #1A0941 #360941
triadic
#1A0941 #411A09 #09411A
tetradic
#1A0941 #410914 #304109 #094136
square
#1A0941 #410914 #304109 #094136
split-complementary
#1A0941 #413609 #144109
monochromatic
#0B041B #0B041B #1A0941 #301077 #4518AD

Accessibility & contrast

On white

18.11
#1A0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0941
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0941#FFFFFF#000000##FFFFFF
##1A09411.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a0941;
/* rgb */ color: rgb(26, 9, 65);
/* oklch */ color: oklch(21.1% 0.097 289.0);
Tailwind
colors: {
  custom: {
    50: '#5c4a76',
    500: '#1a0941',
    950: '#000000',
  },
}
SCSS
$custom: #1a0941;
$custom-light: #5c4a76;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0941",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 258.214,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21092,
    "c": 0.09743,
    "h": 289
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

primary
#1A0941
secondary
#647F27
accent
#F236B9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A0941

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

Preview Lab → · Contrast checker → · Palette generator →

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