#1A0B44#1A0B44

#1A0B44 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.099 H 287.0°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#1A0B44
RGBrgb(26, 11, 68)
HSLhsl(256, 72%, 15%)
HSVhsv(256, 84%, 27%)
CMYKcmyk(61.8%, 83.8%, 0%, 73.3%)
CIE-LABlab(7.91, 24.76, -32.94)
CIE-LCHlch(7.91, 41.21, 306.94°)
OKLaboklab(21.72% 0.029 -0.0948)
OKLCHoklch(21.72% 0.099 287)
XYZxyz(1.5888, 0.8762, 5.5531)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0B44 #35440B
analogous
#0B1944 #1A0B44 #360B44
triadic
#1A0B44 #441A0B #0B441A
tetradic
#1A0B44 #440B19 #35440B #0B4436
square
#1A0B44 #440B19 #35440B #0B4436
split-complementary
#1A0B44 #44360B #19440B
monochromatic
#0A041A #0A041A #1A0B44 #2E1479 #421CAD

Accessibility & contrast

On white

17.87
#1A0B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1A0B44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0B44
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0B44#FFFFFF#000000##FFFFFF
##1A0B441.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001946
Deuteranopia (green-blind)
#001643
Tritanopia (blue-blind)
#081B27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a0b44;
/* rgb */ color: rgb(26, 11, 68);
/* oklch */ color: oklch(21.7% 0.099 287.0);
Tailwind
colors: {
  custom: {
    50: '#5d4b79',
    500: '#1a0b44',
    950: '#000000',
  },
}
SCSS
$custom: #1a0b44;
$custom-light: #5d4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0b44",
  "rgb": {
    "r": 26,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 255.789,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21719,
    "c": 0.0991,
    "h": 287
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#1A0B44
secondary
#6A812A
accent
#EF39BF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #1A0B44

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

Preview Lab → · Contrast checker → · Palette generator →

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