#1B0844#1B0844

#1B0844 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.103 H 289.0°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#1B0844
RGBrgb(27, 8, 68)
HSLhsl(259, 79%, 15%)
HSVhsv(259, 88%, 27%)
CMYKcmyk(60.3%, 88.2%, 0%, 73.3%)
CIE-LABlab(7.44, 26.61, -33.71)
CIE-LCHlch(7.44, 42.94, 308.29°)
OKLaboklab(21.41% 0.0335 -0.097)
OKLCHoklch(21.41% 0.103 289)
XYZxyz(1.5819, 0.8240, 5.5434)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0844 #314408
analogous
#081344 #1B0844 #390844
triadic
#1B0844 #441B08 #08441B
tetradic
#1B0844 #440813 #314408 #084439
square
#1B0844 #440813 #314408 #084439
split-complementary
#1B0844 #443908 #134408
monochromatic
#0B031B #0B031B #1B0844 #310E7B #4615B2

Accessibility & contrast

On white

18.03
#1B0844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1B0844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0844
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0844#FFFFFF#000000##FFFFFF
##1B08441.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001543
Tritanopia (blue-blind)
#0B1926
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1b0844;
/* rgb */ color: rgb(27, 8, 68);
/* oklch */ color: oklch(21.4% 0.103 289.0);
Tailwind
colors: {
  custom: {
    50: '#5d4a79',
    500: '#1b0844',
    950: '#000000',
  },
}
SCSS
$custom: #1b0844;
$custom-light: #5d4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0844",
  "rgb": {
    "r": 27,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 259,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21409,
    "c": 0.10262,
    "h": 289
  },
  "luminance": 0.00824
}

Semantic roles & 50–950 ramp

primary
#1B0844
secondary
#658226
accent
#F532B8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0844

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

Preview Lab → · Contrast checker → · Palette generator →

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