#1B0433#1B0433

#1B0433 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.087 H 300.9°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#1B0433
RGBrgb(27, 4, 51)
HSLhsl(269, 85%, 11%)
HSVhsv(269, 92%, 20%)
CMYKcmyk(47.1%, 92.2%, 0%, 80%)
CIE-LABlab(5.05, 22.12, -25.31)
CIE-LCHlch(5.05, 33.62, 311.16°)
OKLaboklab(18.85% 0.0447 -0.0746)
OKLCHoklch(18.85% 0.087 300.9)
XYZxyz(1.0928, 0.5589, 3.1816)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0433 #1C3304
analogous
#040433 #1B0433 #320433
triadic
#1B0433 #331B04 #04331B
tetradic
#1B0433 #330404 #1C3304 #043332
square
#1B0433 #330404 #1C3304 #043332
split-complementary
#1B0433 #333204 #043304
monochromatic
#0F021C #0F021C #1B0433 #39086C #570DA4

Accessibility & contrast

On white

18.89
#1B0433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0433
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0433#FFFFFF#000000##FFFFFF
##1B04331.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001134
Deuteranopia (green-blind)
#001132
Tritanopia (blue-blind)
#15101B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1b0433;
/* rgb */ color: rgb(27, 4, 51);
/* oklch */ color: oklch(18.9% 0.087 300.9);
Tailwind
colors: {
  custom: {
    50: '#5a476b',
    500: '#1b0433',
    950: '#000000',
  },
}
SCSS
$custom: #1b0433;
$custom-light: #5a476b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0433",
  "rgb": {
    "r": 27,
    "g": 4,
    "b": 51
  },
  "hsl": {
    "h": 269.362,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18851,
    "c": 0.08699,
    "h": 300.9
  },
  "luminance": 0.00559
}

Semantic roles & 50–950 ramp

primary
#1B0433
secondary
#4A751D
accent
#FC2C96
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1B0433

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

Preview Lab → · Contrast checker → · Palette generator →

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