#1A0B47#1A0B47

#1A0B47 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.103 H 285.8°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#1A0B47
RGBrgb(26, 11, 71)
HSLhsl(255, 73%, 16%)
HSVhsv(255, 85%, 28%)
CMYKcmyk(63.4%, 84.5%, 0%, 72.2%)
CIE-LABlab(8.25, 25.78, -34.50)
CIE-LCHlch(8.25, 43.07, 306.77°)
OKLaboklab(22.06% 0.028 -0.0993)
OKLCHoklch(22.06% 0.103 285.8)
XYZxyz(1.6827, 0.9138, 6.0477)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0B47 #38470B
analogous
#0B1A47 #1A0B47 #380B47
triadic
#1A0B47 #471A0B #0B471A
tetradic
#1A0B47 #470B1A #38470B #0B4738
square
#1A0B47 #470B1A #38470B #0B4738
split-complementary
#1A0B47 #47380B #1A470B
monochromatic
#0A041A #0A041A #1A0B47 #2D137C #411BB1

Accessibility & contrast

On white

17.75
#1A0B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0B47
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0B47#FFFFFF#000000##FFFFFF
##1A0B471.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A49
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#051C28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a0b47;
/* rgb */ color: rgb(26, 11, 71);
/* oklch */ color: oklch(22.1% 0.103 285.8);
Tailwind
colors: {
  custom: {
    50: '#5d4c7b',
    500: '#1a0b47',
    950: '#000000',
  },
}
SCSS
$custom: #1a0b47;
$custom-light: #5d4c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0b47",
  "rgb": {
    "r": 26,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 255,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22058,
    "c": 0.10321,
    "h": 285.8
  },
  "luminance": 0.00914
}

Semantic roles & 50–950 ramp

primary
#1A0B47
secondary
#6D832A
accent
#F038C2
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0B47

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

Preview Lab → · Contrast checker → · Palette generator →

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