#1A0B48#1A0B48

#1A0B48 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.105 H 285.4°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#1A0B48
RGBrgb(26, 11, 72)
HSLhsl(255, 73%, 16%)
HSVhsv(255, 85%, 28%)
CMYKcmyk(63.9%, 84.7%, 0%, 71.8%)
CIE-LABlab(8.37, 26.12, -35.01)
CIE-LCHlch(8.37, 43.68, 306.73°)
OKLaboklab(22.17% 0.0277 -0.1008)
OKLCHoklch(22.17% 0.105 285.4)
XYZxyz(1.7150, 0.9267, 6.2181)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0B48 #39480B
analogous
#0B1B48 #1A0B48 #390B48
triadic
#1A0B48 #481A0B #0B481A
tetradic
#1A0B48 #480B1B #39480B #0B4839
square
#1A0B48 #480B1B #39480B #0B4839
split-complementary
#1A0B48 #48390B #1B480B
monochromatic
#0A041B #0A041B #1A0B48 #2D137D #401BB2

Accessibility & contrast

On white

17.72
#1A0B48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0B48
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0B48#FFFFFF#000000##FFFFFF
##1A0B481.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001647
Tritanopia (blue-blind)
#041C29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a0b48;
/* rgb */ color: rgb(26, 11, 72);
/* oklch */ color: oklch(22.2% 0.105 285.4);
Tailwind
colors: {
  custom: {
    50: '#5e4c7c',
    500: '#1a0b48',
    950: '#000000',
  },
}
SCSS
$custom: #1a0b48;
$custom-light: #5e4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0b48",
  "rgb": {
    "r": 26,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 254.754,
    "s": 73.494,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22172,
    "c": 0.10457,
    "h": 285.4
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#1A0B48
secondary
#6E842A
accent
#F038C3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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