#1B0436#1B0436

#1B0436 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.091 H 298.7°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#1B0436
RGBrgb(27, 4, 54)
HSLhsl(268, 86%, 11%)
HSVhsv(268, 93%, 21%)
CMYKcmyk(50%, 92.6%, 0%, 78.8%)
CIE-LABlab(5.30, 23.37, -27.13)
CIE-LCHlch(5.30, 35.80, 310.74°)
OKLaboklab(19.18% 0.0435 -0.0795)
OKLCHoklch(19.18% 0.091 298.7)
XYZxyz(1.1611, 0.5862, 3.5413)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0436 #1F3604
analogous
#040636 #1B0436 #340436
triadic
#1B0436 #361B04 #04361B
tetradic
#1B0436 #360406 #1F3604 #043634
square
#1B0436 #360406 #1F3604 #043634
split-complementary
#1B0436 #363404 #063604
monochromatic
#0E021C #0E021C #1B0436 #37086F #540CA8

Accessibility & contrast

On white

18.80
#1B0436 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1B0436 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0436
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0436#FFFFFF#000000##FFFFFF
##1B04361.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001237
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#14111D
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1b0436;
/* rgb */ color: rgb(27, 4, 54);
/* oklch */ color: oklch(19.2% 0.091 298.7);
Tailwind
colors: {
  custom: {
    50: '#5a476d',
    500: '#1b0436',
    950: '#000000',
  },
}
SCSS
$custom: #1b0436;
$custom-light: #5a476d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0436",
  "rgb": {
    "r": 27,
    "g": 4,
    "b": 54
  },
  "hsl": {
    "h": 267.6,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19181,
    "c": 0.09066,
    "h": 298.7
  },
  "luminance": 0.00586
}

Semantic roles & 50–950 ramp

primary
#1B0436
secondary
#4F781E
accent
#FC2B9C
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1B0436

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

Preview Lab → · Contrast checker → · Palette generator →

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