#1B0328#1B0328

#1B0328 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.076 H 311.3°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#1B0328
RGBrgb(27, 3, 40)
HSLhsl(279, 86%, 8%)
HSVhsv(279, 93%, 16%)
CMYKcmyk(32.5%, 92.5%, 0%, 84.3%)
CIE-LABlab(4.08, 17.95, -18.58)
CIE-LCHlch(4.08, 25.83, 314.02°)
OKLaboklab(17.51% 0.0502 -0.0571)
OKLCHoklch(17.51% 0.076 311.3)
XYZxyz(0.8675, 0.4514, 2.0485)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0328 #102803
analogous
#080328 #1B0328 #280322
triadic
#1B0328 #281B03 #03281B
tetradic
#1B0328 #280803 #102803 #032228
square
#1B0328 #280803 #102803 #032228
split-complementary
#1B0328 #222803 #032808
monochromatic
#13021C #13021C #1B0328 #410761 #680C9A

Accessibility & contrast

On white

19.26
#1B0328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1B0328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0328
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0328#FFFFFF#000000##FFFFFF
##1B03281.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D29
Deuteranopia (green-blind)
#000F27
Tritanopia (blue-blind)
#190A14
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1b0328;
/* rgb */ color: rgb(27, 3, 40);
/* oklch */ color: oklch(17.5% 0.076 311.3);
Tailwind
colors: {
  custom: {
    50: '#584762',
    500: '#1b0328',
    950: '#000000',
  },
}
SCSS
$custom: #1b0328;
$custom-light: #584762;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0328",
  "rgb": {
    "r": 27,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 278.919,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.17513,
    "c": 0.07599,
    "h": 311.3
  },
  "luminance": 0.00451
}

Semantic roles & 50–950 ramp

primary
#1B0328
secondary
#376C1B
accent
#FC2C75
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#030005
muted
#787779

Preview Lab

Preview with #1B0328

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

Preview Lab → · Contrast checker → · Palette generator →

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