#1B0029#1B0029

#1B0029 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.9% C 0.085 H 311.7°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#1B0029
RGBrgb(27, 0, 41)
HSLhsl(280, 100%, 8%)
HSVhsv(280, 100%, 16%)
CMYKcmyk(34.1%, 100%, 0%, 83.9%)
CIE-LABlab(3.55, 19.60, -20.17)
CIE-LCHlch(3.55, 28.12, 314.19°)
OKLaboklab(16.95% 0.0565 -0.0634)
OKLCHoklch(16.95% 0.085 311.7)
XYZxyz(0.8522, 0.3931, 2.1284)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0029 #0E2900
analogous
#060029 #1B0029 #290022
triadic
#1B0029 #291B00 #00291B
tetradic
#1B0029 #290600 #0E2900 #002229
square
#1B0029 #290600 #0E2900 #002229
split-complementary
#1B0029 #222900 #002906
monochromatic
#14001F #14001F #1B0029 #430066 #6C00A3

Accessibility & contrast

On white

19.47
#1B0029 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1B0029 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0029
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0029#FFFFFF#000000##FFFFFF
##1B00291.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2A
Deuteranopia (green-blind)
#000D28
Tritanopia (blue-blind)
#190814
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1b0029;
/* rgb */ color: rgb(27, 0, 41);
/* oklch */ color: oklch(16.9% 0.085 311.7);
Tailwind
colors: {
  custom: {
    50: '#584663',
    500: '#1b0029',
    950: '#000000',
  },
}
SCSS
$custom: #1b0029;
$custom-light: #584663;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0029",
  "rgb": {
    "r": 27,
    "g": 0,
    "b": 41
  },
  "hsl": {
    "h": 279.512,
    "s": 100,
    "l": 8.039
  },
  "oklch": {
    "l": 0.16947,
    "c": 0.08493,
    "h": 311.7
  },
  "luminance": 0.00393
}

Semantic roles & 50–950 ramp

primary
#1B0029
secondary
#347114
accent
#FF2972
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#030005
muted
#787779

Preview Lab

Preview with #1B0029

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

Preview Lab → · Contrast checker → · Palette generator →

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