#1B0132#1B0132

#1B0132 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.092 H 303.1°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#1B0132
RGBrgb(27, 1, 50)
HSLhsl(272, 96%, 10%)
HSVhsv(272, 98%, 20%)
CMYKcmyk(46%, 98%, 0%, 80.4%)
CIE-LABlab(4.38, 23.10, -25.64)
CIE-LCHlch(4.38, 34.51, 312.01°)
OKLaboklab(18.16% 0.0502 -0.077)
OKLCHoklch(18.16% 0.092 303.1)
XYZxyz(1.0384, 0.4850, 3.0559)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0132 #183201
analogous
#030132 #1B0132 #320130
triadic
#1B0132 #321B01 #01321B
tetradic
#1B0132 #320301 #183201 #013032
square
#1B0132 #320301 #183201 #013032
split-complementary
#1B0132 #303201 #013203
monochromatic
#10011E #10011E #1B0132 #3B026E #5C03AA

Accessibility & contrast

On white

19.14
#1B0132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0132
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0132#FFFFFF#000000##FFFFFF
##1B01321.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0132;
/* rgb */ color: rgb(27, 1, 50);
/* oklch */ color: oklch(18.2% 0.092 303.1);
Tailwind
colors: {
  custom: {
    50: '#5a466a',
    500: '#1b0132',
    950: '#000000',
  },
}
SCSS
$custom: #1b0132;
$custom-light: #5a466a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0132",
  "rgb": {
    "r": 27,
    "g": 1,
    "b": 50
  },
  "hsl": {
    "h": 271.837,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.18163,
    "c": 0.09186,
    "h": 303.1
  },
  "luminance": 0.00485
}

Semantic roles & 50–950 ramp

primary
#1B0132
secondary
#447717
accent
#FF298D
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1B0132

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

Preview Lab → · Contrast checker → · Palette generator →

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