#1A0B4A#1A0B4A

#1A0B4A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.107 H 284.6°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#1A0B4A
RGBrgb(26, 11, 74)
HSLhsl(254, 74%, 17%)
HSVhsv(254, 85%, 29%)
CMYKcmyk(64.9%, 85.1%, 0%, 71%)
CIE-LABlab(8.60, 26.79, -36.03)
CIE-LCHlch(8.60, 44.90, 306.64°)
OKLaboklab(22.4% 0.0271 -0.1038)
OKLCHoklch(22.4% 0.107 284.6)
XYZxyz(1.7813, 0.9533, 6.5674)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0B4A #3B4A0B
analogous
#0B1C4A #1A0B4A #3A0B4A
triadic
#1A0B4A #4A1A0B #0B4A1A
tetradic
#1A0B4A #4A0B1C #3B4A0B #0B4A3A
square
#1A0B4A #4A0B1C #3B4A0B #0B4A3A
split-complementary
#1A0B4A #4A3A0B #1C4A0B
monochromatic
#09041B #09041B #1A0B4A #2D137F #3F1BB5

Accessibility & contrast

On white

17.64
#1A0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1A0B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0B4A
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0B4A#FFFFFF#000000##FFFFFF
##1A0B4A1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001749
Tritanopia (blue-blind)
#021D2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1a0b4a;
/* rgb */ color: rgb(26, 11, 74);
/* oklch */ color: oklch(22.4% 0.107 284.6);
Tailwind
colors: {
  custom: {
    50: '#5e4c7d',
    500: '#1a0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #1a0b4a;
$custom-light: #5e4c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0b4a",
  "rgb": {
    "r": 26,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 254.286,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22403,
    "c": 0.10728,
    "h": 284.6
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#1A0B4A
secondary
#70862B
accent
#F137C5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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