#1A0B49#1A0B49

#1A0B49 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.106 H 285.0°. Best body text is #FFFFFF at 17.68:1 contrast (WCAG AA passes).

Color values

HEX#1A0B49
RGBrgb(26, 11, 73)
HSLhsl(255, 74%, 16%)
HSVhsv(255, 85%, 29%)
CMYKcmyk(64.4%, 84.9%, 0%, 71.4%)
CIE-LABlab(8.48, 26.46, -35.52)
CIE-LCHlch(8.48, 44.29, 306.68°)
OKLaboklab(22.29% 0.0274 -0.1023)
OKLCHoklch(22.29% 0.106 285)
XYZxyz(1.7479, 0.9399, 6.3913)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0B49 #3A490B
analogous
#0B1B49 #1A0B49 #390B49
triadic
#1A0B49 #491A0B #0B491A
tetradic
#1A0B49 #490B1B #3A490B #0B4939
square
#1A0B49 #490B1B #3A490B #0B4939
split-complementary
#1A0B49 #49390B #1B490B
monochromatic
#09041B #09041B #1A0B49 #2D137E #401BB3

Accessibility & contrast

On white

17.68
#1A0B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0B49
17.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0B49#FFFFFF#000000##FFFFFF
##1A0B491.0017.681.1917.68
#FFFFFF17.681.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4B
Deuteranopia (green-blind)
#001748
Tritanopia (blue-blind)
#031D29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a0b49;
/* rgb */ color: rgb(26, 11, 73);
/* oklch */ color: oklch(22.3% 0.106 285.0);
Tailwind
colors: {
  custom: {
    50: '#5e4c7c',
    500: '#1a0b49',
    950: '#000000',
  },
}
SCSS
$custom: #1a0b49;
$custom-light: #5e4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0b49",
  "rgb": {
    "r": 26,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 254.516,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.22287,
    "c": 0.10593,
    "h": 285
  },
  "luminance": 0.0094
}

Semantic roles & 50–950 ramp

primary
#1A0B49
secondary
#6F852A
accent
#F037C4
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0B49

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

Preview Lab → · Contrast checker → · Palette generator →

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