#1B0736#1B0736

#1B0736 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.7% C 0.086 H 297.4°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#1B0736
RGBrgb(27, 7, 54)
HSLhsl(266, 77%, 12%)
HSVhsv(266, 87%, 21%)
CMYKcmyk(50%, 87%, 0%, 78.8%)
CIE-LABlab(5.88, 21.90, -26.18)
CIE-LCHlch(5.88, 34.13, 309.92°)
OKLaboklab(19.7% 0.0393 -0.076)
OKLCHoklch(19.7% 0.086 297.4)
XYZxyz(1.1937, 0.6513, 3.5521)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0736 #223607
analogous
#070B36 #1B0736 #330736
triadic
#1B0736 #361B07 #07361B
tetradic
#1B0736 #36070B #223607 #073633
square
#1B0736 #36070B #223607 #073633
split-complementary
#1B0736 #363307 #0B3607
monochromatic
#0E041B #0E041B #1B0736 #360E6C #5115A2

Accessibility & contrast

On white

18.58
#1B0736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1B0736 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0736
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0736#FFFFFF#000000##FFFFFF
##1B07361.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001235
Tritanopia (blue-blind)
#14131E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1b0736;
/* rgb */ color: rgb(27, 7, 54);
/* oklch */ color: oklch(19.7% 0.086 297.4);
Tailwind
colors: {
  custom: {
    50: '#5a496d',
    500: '#1b0736',
    950: '#000000',
  },
}
SCSS
$custom: #1b0736;
$custom-light: #5a496d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0736",
  "rgb": {
    "r": 27,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 265.532,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19703,
    "c": 0.08557,
    "h": 297.4
  },
  "luminance": 0.00651
}

Semantic roles & 50–950 ramp

primary
#1B0736
secondary
#537623
accent
#F434A2
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1B0736

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

Preview Lab → · Contrast checker → · Palette generator →

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