#1B0129#1B0129

#1B0129 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.2% C 0.082 H 311.2°. Best body text is #FFFFFF at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#1B0129
RGBrgb(27, 1, 41)
HSLhsl(279, 95%, 8%)
HSVhsv(279, 98%, 16%)
CMYKcmyk(34.1%, 97.6%, 0%, 83.9%)
CIE-LABlab(3.75, 19.19, -19.86)
CIE-LCHlch(3.75, 27.62, 314.02°)
OKLaboklab(17.18% 0.0542 -0.0618)
OKLCHoklch(17.18% 0.082 311.2)
XYZxyz(0.8630, 0.4148, 2.1320)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0129 #0F2901
analogous
#070129 #1B0129 #290123
triadic
#1B0129 #291B01 #01291B
tetradic
#1B0129 #290701 #0F2901 #012329
square
#1B0129 #290701 #0F2901 #012329
split-complementary
#1B0129 #232901 #012907
monochromatic
#14011E #14011E #1B0129 #420265 #6A04A0

Accessibility & contrast

On white

19.39
#1B0129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0129
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0129#FFFFFF#000000##FFFFFF
##1B01291.0019.391.0819.39
#FFFFFF19.391.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2A
Deuteranopia (green-blind)
#000E28
Tritanopia (blue-blind)
#190914
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1b0129;
/* rgb */ color: rgb(27, 1, 41);
/* oklch */ color: oklch(17.2% 0.082 311.2);
Tailwind
colors: {
  custom: {
    50: '#584663',
    500: '#1b0129',
    950: '#000000',
  },
}
SCSS
$custom: #1b0129;
$custom-light: #584663;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0129",
  "rgb": {
    "r": 27,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 279,
    "s": 95.238,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17175,
    "c": 0.08224,
    "h": 311.2
  },
  "luminance": 0.00415
}

Semantic roles & 50–950 ramp

primary
#1B0129
secondary
#366F16
accent
#FF2974
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#030005
muted
#787779

Preview Lab

Preview with #1B0129

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

Preview Lab → · Contrast checker → · Palette generator →

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