#1B0127#1B0127

#1B0127 is a very dark, moderate purple. Relative luminance 0.004; OKLCH L 17.0% C 0.080 H 313.3°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#1B0127
RGBrgb(27, 1, 39)
HSLhsl(281, 95%, 8%)
HSVhsv(281, 97%, 15%)
CMYKcmyk(30.8%, 97.4%, 0%, 84.7%)
CIE-LABlab(3.62, 18.34, -18.52)
CIE-LCHlch(3.62, 26.06, 314.72°)
OKLaboklab(16.97% 0.055 -0.0583)
OKLCHoklch(16.97% 0.08 313.3)
XYZxyz(0.8290, 0.4012, 1.9528)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0127 #0D2701
analogous
#080127 #1B0127 #270120
triadic
#1B0127 #271B01 #01271B
tetradic
#1B0127 #270801 #0D2701 #012027
square
#1B0127 #270801 #0D2701 #012027
split-complementary
#1B0127 #202701 #012708
monochromatic
#15011E #15011E #1B0127 #440363 #6E049E

Accessibility & contrast

On white

19.44
#1B0127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0127
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0127#FFFFFF#000000##FFFFFF
##1B01271.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B28
Deuteranopia (green-blind)
#000E26
Tritanopia (blue-blind)
#1A0813
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1b0127;
/* rgb */ color: rgb(27, 1, 39);
/* oklch */ color: oklch(17.0% 0.080 313.3);
Tailwind
colors: {
  custom: {
    50: '#574661',
    500: '#1b0127',
    950: '#000000',
  },
}
SCSS
$custom: #1b0127;
$custom-light: #574661;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0127",
  "rgb": {
    "r": 27,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 281.053,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.16968,
    "c": 0.08013,
    "h": 313.3
  },
  "luminance": 0.00401
}

Semantic roles & 50–950 ramp

primary
#1B0127
secondary
#326E16
accent
#FF296C
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#030005
muted
#787779

Preview Lab

Preview with #1B0127

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

Preview Lab → · Contrast checker → · Palette generator →

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