#1B0136#1B0136

#1B0136 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.6% C 0.096 H 300.0°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#1B0136
RGBrgb(27, 1, 54)
HSLhsl(269, 96%, 11%)
HSVhsv(269, 98%, 21%)
CMYKcmyk(50%, 98.1%, 0%, 78.8%)
CIE-LABlab(4.71, 24.82, -28.07)
CIE-LCHlch(4.71, 37.47, 311.47°)
OKLaboklab(18.63% 0.0481 -0.0833)
OKLCHoklch(18.63% 0.096 300)
XYZxyz(1.1285, 0.5210, 3.5304)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0136 #1C3601
analogous
#010136 #1B0136 #350136
triadic
#1B0136 #361B01 #01361B
tetradic
#1B0136 #360101 #1C3601 #013635
square
#1B0136 #360101 #1C3601 #013635
split-complementary
#1B0136 #363501 #013601
monochromatic
#0F011E #0F011E #1B0136 #390272 #5703AE

Accessibility & contrast

On white

19.02
#1B0136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1B0136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0136
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0136#FFFFFF#000000##FFFFFF
##1B01361.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001037
Deuteranopia (green-blind)
#001035
Tritanopia (blue-blind)
#140F1C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1b0136;
/* rgb */ color: rgb(27, 1, 54);
/* oklch */ color: oklch(18.6% 0.096 300.0);
Tailwind
colors: {
  custom: {
    50: '#5b466d',
    500: '#1b0136',
    950: '#000000',
  },
}
SCSS
$custom: #1b0136;
$custom-light: #5b466d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0136",
  "rgb": {
    "r": 27,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 269.434,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18629,
    "c": 0.09622,
    "h": 300
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#1B0136
secondary
#4A7B18
accent
#FF2996
background
#F5F3F6
surface
#E9E5EC
border
#C5C1C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1B0136

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

Preview Lab → · Contrast checker → · Palette generator →

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