#1B0733#1B0733

#1B0733 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.082 H 299.5°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#1B0733
RGBrgb(27, 7, 51)
HSLhsl(267, 76%, 11%)
HSVhsv(267, 86%, 20%)
CMYKcmyk(47.1%, 86.3%, 0%, 80%)
CIE-LABlab(5.64, 20.70, -24.37)
CIE-LCHlch(5.64, 31.97, 310.35°)
OKLaboklab(19.39% 0.0402 -0.071)
OKLCHoklch(19.39% 0.082 299.5)
XYZxyz(1.1254, 0.6240, 3.1925)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0733 #1F3307
analogous
#070933 #1B0733 #310733
triadic
#1B0733 #331B07 #07331B
tetradic
#1B0733 #330709 #1F3307 #073331
square
#1B0733 #330709 #1F3307 #073331
split-complementary
#1B0733 #333107 #093307
monochromatic
#0E041B #0E041B #1B0733 #370E69 #54169F

Accessibility & contrast

On white

18.67
#1B0733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1B0733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0733
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0733#FFFFFF#000000##FFFFFF
##1B07331.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#001232
Tritanopia (blue-blind)
#15121C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1b0733;
/* rgb */ color: rgb(27, 7, 51);
/* oklch */ color: oklch(19.4% 0.082 299.5);
Tailwind
colors: {
  custom: {
    50: '#5a496b',
    500: '#1b0733',
    950: '#000000',
  },
}
SCSS
$custom: #1b0733;
$custom-light: #5a496b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0733",
  "rgb": {
    "r": 27,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 267.273,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19391,
    "c": 0.08157,
    "h": 299.5
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#1B0733
secondary
#4F7323
accent
#F2359C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1B0733

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

Preview Lab → · Contrast checker → · Palette generator →

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