#1B0027#1B0027

#1B0027 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 16.7% C 0.083 H 313.8°. Best body text is #FFFFFF at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#1B0027
RGBrgb(27, 0, 39)
HSLhsl(282, 100%, 8%)
HSVhsv(282, 100%, 15%)
CMYKcmyk(30.8%, 100%, 0%, 84.7%)
CIE-LABlab(3.43, 18.74, -18.82)
CIE-LCHlch(3.43, 26.56, 314.87°)
OKLaboklab(16.74% 0.0574 -0.0599)
OKLCHoklch(16.74% 0.083 313.8)
XYZxyz(0.8181, 0.3795, 1.9492)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0027 #0C2700
analogous
#070027 #1B0027 #270020
triadic
#1B0027 #271B00 #00271B
tetradic
#1B0027 #270700 #0C2700 #002027
square
#1B0027 #270700 #0C2700 #002027
split-complementary
#1B0027 #202700 #002707
monochromatic
#15001F #15001F #1B0027 #450064 #7000A1

Accessibility & contrast

On white

19.52
#1B0027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1B0027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0027
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0027#FFFFFF#000000##FFFFFF
##1B00271.0019.521.0819.52
#FFFFFF19.521.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B28
Deuteranopia (green-blind)
#000D26
Tritanopia (blue-blind)
#1A0712
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1b0027;
/* rgb */ color: rgb(27, 0, 39);
/* oklch */ color: oklch(16.7% 0.083 313.8);
Tailwind
colors: {
  custom: {
    50: '#574661',
    500: '#1b0027',
    950: '#000000',
  },
}
SCSS
$custom: #1b0027;
$custom-light: #574661;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0027",
  "rgb": {
    "r": 27,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 281.538,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16735,
    "c": 0.08297,
    "h": 313.8
  },
  "luminance": 0.00379
}

Semantic roles & 50–950 ramp

primary
#1B0027
secondary
#306F14
accent
#FF296B
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#030005
muted
#787779

Preview Lab

Preview with #1B0027

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

Preview Lab → · Contrast checker → · Palette generator →

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