#1A0B4D#1A0B4D

#1A0B4D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.111 H 283.5°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#1A0B4D
RGBrgb(26, 11, 77)
HSLhsl(254, 75%, 17%)
HSVhsv(254, 86%, 30%)
CMYKcmyk(66.2%, 85.7%, 0%, 69.8%)
CIE-LABlab(8.95, 27.80, -37.53)
CIE-LCHlch(8.95, 46.71, 306.53°)
OKLaboklab(22.75% 0.0261 -0.1082)
OKLCHoklch(22.75% 0.111 283.5)
XYZxyz(1.8848, 0.9947, 7.1124)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0B4D #3E4D0B
analogous
#0B1D4D #1A0B4D #3B0B4D
triadic
#1A0B4D #4D1A0B #0B4D1A
tetradic
#1A0B4D #4D0B1D #3E4D0B #0B4D3B
square
#1A0B4D #4D0B1D #3E4D0B #0B4D3B
split-complementary
#1A0B4D #4D3B0B #1D4D0B
monochromatic
#09041B #09041B #1A0B4D #2C1383 #3E1AB8

Accessibility & contrast

On white

17.51
#1A0B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1A0B4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0B4D
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0B4D#FFFFFF#000000##FFFFFF
##1A0B4D1.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4F
Deuteranopia (green-blind)
#00174C
Tritanopia (blue-blind)
#001E2C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1a0b4d;
/* rgb */ color: rgb(26, 11, 77);
/* oklch */ color: oklch(22.8% 0.111 283.5);
Tailwind
colors: {
  custom: {
    50: '#5f4c80',
    500: '#1a0b4d',
    950: '#000000',
  },
}
SCSS
$custom: #1a0b4d;
$custom-light: #5f4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0b4d",
  "rgb": {
    "r": 26,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 253.636,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22753,
    "c": 0.11131,
    "h": 283.5
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#1A0B4D
secondary
#74892B
accent
#F236C7
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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