#1B0432#1B0432

#1B0432 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.7% C 0.086 H 301.7°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#1B0432
RGBrgb(27, 4, 50)
HSLhsl(270, 85%, 11%)
HSVhsv(270, 92%, 20%)
CMYKcmyk(46%, 92%, 0%, 80.4%)
CIE-LABlab(4.97, 21.71, -24.70)
CIE-LCHlch(4.97, 32.88, 311.32°)
OKLaboklab(18.74% 0.0451 -0.073)
OKLCHoklch(18.74% 0.086 301.7)
XYZxyz(1.0710, 0.5501, 3.0668)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0432 #1B3204
analogous
#040432 #1B0432 #320432
triadic
#1B0432 #321B04 #04321B
tetradic
#1B0432 #320404 #1B3204 #043232
square
#1B0432 #320404 #1B3204 #043232
split-complementary
#1B0432 #323204 #043204
monochromatic
#0F021C #0F021C #1B0432 #3A096B #580DA3

Accessibility & contrast

On white

18.92
#1B0432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1B0432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0432
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0432#FFFFFF#000000##FFFFFF
##1B04321.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#16101A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1b0432;
/* rgb */ color: rgb(27, 4, 50);
/* oklch */ color: oklch(18.7% 0.086 301.7);
Tailwind
colors: {
  custom: {
    50: '#5a476a',
    500: '#1b0432',
    950: '#000000',
  },
}
SCSS
$custom: #1b0432;
$custom-light: #5a476a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0432",
  "rgb": {
    "r": 27,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 270,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18743,
    "c": 0.08578,
    "h": 301.7
  },
  "luminance": 0.0055
}

Semantic roles & 50–950 ramp

primary
#1B0432
secondary
#49741D
accent
#FB2C94
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1B0432

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

Preview Lab → · Contrast checker → · Palette generator →

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