#1B0131#1B0131

#1B0131 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.091 H 303.9°. Best body text is #FFFFFF at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#1B0131
RGBrgb(27, 1, 49)
HSLhsl(273, 96%, 10%)
HSVhsv(273, 98%, 19%)
CMYKcmyk(44.9%, 98%, 0%, 80.8%)
CIE-LABlab(4.30, 22.66, -25.02)
CIE-LCHlch(4.30, 33.76, 312.17°)
OKLaboklab(18.05% 0.0507 -0.0753)
OKLCHoklch(18.05% 0.091 303.9)
XYZxyz(1.0171, 0.4765, 2.9435)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0131 #173101
analogous
#030131 #1B0131 #31012F
triadic
#1B0131 #311B01 #01311B
tetradic
#1B0131 #310301 #173101 #012F31
square
#1B0131 #310301 #173101 #012F31
split-complementary
#1B0131 #2F3101 #013103
monochromatic
#11011E #11011E #1B0131 #3C026D #5D03A9

Accessibility & contrast

On white

19.17
#1B0131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0131
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0131#FFFFFF#000000##FFFFFF
##1B01311.0019.171.1019.17
#FFFFFF19.171.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E32
Deuteranopia (green-blind)
#000F30
Tritanopia (blue-blind)
#160D19
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1b0131;
/* rgb */ color: rgb(27, 1, 49);
/* oklch */ color: oklch(18.0% 0.091 303.9);
Tailwind
colors: {
  custom: {
    50: '#594669',
    500: '#1b0131',
    950: '#000000',
  },
}
SCSS
$custom: #1b0131;
$custom-light: #594669;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0131",
  "rgb": {
    "r": 27,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 272.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18049,
    "c": 0.09077,
    "h": 303.9
  },
  "luminance": 0.00476
}

Semantic roles & 50–950 ramp

primary
#1B0131
secondary
#437717
accent
#FF298B
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1B0131

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

Preview Lab → · Contrast checker → · Palette generator →

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