#1B0441#1B0441

#1B0441 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.104 H 291.8°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#1B0441
RGBrgb(27, 4, 65)
HSLhsl(263, 88%, 14%)
HSVhsv(263, 94%, 25%)
CMYKcmyk(58.5%, 93.8%, 0%, 74.5%)
CIE-LABlab(6.34, 27.71, -33.39)
CIE-LCHlch(6.34, 43.39, 309.69°)
OKLaboklab(20.46% 0.0387 -0.0966)
OKLCHoklch(20.46% 0.104 291.8)
XYZxyz(1.4493, 0.7014, 5.0590)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0441 #2A4104
analogous
#040B41 #1B0441 #390441
triadic
#1B0441 #411B04 #04411B
tetradic
#1B0441 #41040B #2A4104 #044139
square
#1B0441 #41040B #2A4104 #044139
split-complementary
#1B0441 #413904 #0B4104
monochromatic
#0C021D #0C021D #1B0441 #33087B #4B0BB4

Accessibility & contrast

On white

18.42
#1B0441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1B0441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0441
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0441#FFFFFF#000000##FFFFFF
##1B04411.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001340
Tritanopia (blue-blind)
#0E1623
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1b0441;
/* rgb */ color: rgb(27, 4, 65);
/* oklch */ color: oklch(20.5% 0.104 291.8);
Tailwind
colors: {
  custom: {
    50: '#5d4876',
    500: '#1b0441',
    950: '#000000',
  },
}
SCSS
$custom: #1b0441;
$custom-light: #5d4876;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0441",
  "rgb": {
    "r": 27,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 262.623,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20458,
    "c": 0.10409,
    "h": 291.8
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#1B0441
secondary
#5D821F
accent
#FF29AE
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #1B0441

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

Preview Lab → · Contrast checker → · Palette generator →

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