#1B0849#1B0849

#1B0849 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.109 H 286.8°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#1B0849
RGBrgb(27, 8, 73)
HSLhsl(258, 80%, 16%)
HSVhsv(258, 89%, 29%)
CMYKcmyk(63%, 89%, 0%, 71.4%)
CIE-LABlab(8.02, 28.28, -36.28)
CIE-LCHlch(8.02, 46.00, 307.94°)
OKLaboklab(21.99% 0.0316 -0.1045)
OKLCHoklch(21.99% 0.109 286.8)
XYZxyz(1.7411, 0.8876, 6.3816)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0849 #364908
analogous
#081649 #1B0849 #3B0849
triadic
#1B0849 #491B08 #08491B
tetradic
#1B0849 #490816 #364908 #08493B
square
#1B0849 #490816 #364908 #08493B
split-complementary
#1B0849 #493B08 #164908
monochromatic
#0A031C #0A031C #1B0849 #2F0E80 #4414B7

Accessibility & contrast

On white

17.83
#1B0849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1B0849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0849
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0849#FFFFFF#000000##FFFFFF
##1B08491.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194B
Deuteranopia (green-blind)
#001648
Tritanopia (blue-blind)
#051B29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1b0849;
/* rgb */ color: rgb(27, 8, 73);
/* oklch */ color: oklch(22.0% 0.109 286.8);
Tailwind
colors: {
  custom: {
    50: '#5f4a7d',
    500: '#1b0849',
    950: '#000000',
  },
}
SCSS
$custom: #1b0849;
$custom-light: #5f4a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0849",
  "rgb": {
    "r": 27,
    "g": 8,
    "b": 73
  },
  "hsl": {
    "h": 257.538,
    "s": 80.247,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21994,
    "c": 0.10913,
    "h": 286.8
  },
  "luminance": 0.00888
}

Semantic roles & 50–950 ramp

primary
#1B0849
secondary
#6B8726
accent
#F731BD
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1B0849

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

Preview Lab → · Contrast checker → · Palette generator →

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