#1A0B41#1A0B41

#1A0B41 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.095 H 288.3°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#1A0B41
RGBrgb(26, 11, 65)
HSLhsl(257, 71%, 15%)
HSVhsv(257, 83%, 25%)
CMYKcmyk(60%, 83.1%, 0%, 74.5%)
CIE-LABlab(7.59, 23.71, -31.34)
CIE-LCHlch(7.59, 39.30, 307.11°)
OKLaboklab(21.39% 0.0298 -0.0901)
OKLCHoklch(21.39% 0.095 288.3)
XYZxyz(1.4995, 0.8405, 5.0832)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0B41 #32410B
analogous
#0B1741 #1A0B41 #350B41
triadic
#1A0B41 #411A0B #0B411A
tetradic
#1A0B41 #410B17 #32410B #0B4135
square
#1A0B41 #410B17 #32410B #0B4135
split-complementary
#1A0B41 #41350B #17410B
monochromatic
#0A041A #0A041A #1A0B41 #2F1475 #441DAA

Accessibility & contrast

On white

17.98
#1A0B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1A0B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0B41
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0B41#FFFFFF#000000##FFFFFF
##1A0B411.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#0B1A25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a0b41;
/* rgb */ color: rgb(26, 11, 65);
/* oklch */ color: oklch(21.4% 0.095 288.3);
Tailwind
colors: {
  custom: {
    50: '#5c4b76',
    500: '#1a0b41',
    950: '#000000',
  },
}
SCSS
$custom: #1a0b41;
$custom-light: #5c4b76;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0b41",
  "rgb": {
    "r": 26,
    "g": 11,
    "b": 65
  },
  "hsl": {
    "h": 256.667,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21387,
    "c": 0.09493,
    "h": 288.3
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#1A0B41
secondary
#667E2A
accent
#EE3ABC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A0B41

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

Preview Lab → · Contrast checker → · Palette generator →

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