#1B0941#1B0941

#1B0941 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.097 H 290.1°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#1B0941
RGBrgb(27, 9, 65)
HSLhsl(259, 76%, 15%)
HSVhsv(259, 86%, 25%)
CMYKcmyk(58.5%, 86.2%, 0%, 74.5%)
CIE-LABlab(7.32, 25.01, -31.78)
CIE-LCHlch(7.32, 40.45, 308.20°)
OKLaboklab(21.21% 0.0336 -0.0914)
OKLCHoklch(21.21% 0.097 290.1)
XYZxyz(1.5035, 0.8100, 5.0771)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0941 #2F4109
analogous
#091341 #1B0941 #370941
triadic
#1B0941 #411B09 #09411B
tetradic
#1B0941 #410913 #2F4109 #094137
square
#1B0941 #410913 #2F4109 #094137
split-complementary
#1B0941 #413709 #134109
monochromatic
#0B041B #0B041B #1B0941 #311077 #4818AD

Accessibility & contrast

On white

18.07
#1B0941 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0941
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0941#FFFFFF#000000##FFFFFF
##1B09411.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#0D1924
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1b0941;
/* rgb */ color: rgb(27, 9, 65);
/* oklch */ color: oklch(21.2% 0.097 290.1);
Tailwind
colors: {
  custom: {
    50: '#5d4a76',
    500: '#1b0941',
    950: '#000000',
  },
}
SCSS
$custom: #1b0941;
$custom-light: #5d4a76;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0941",
  "rgb": {
    "r": 27,
    "g": 9,
    "b": 65
  },
  "hsl": {
    "h": 259.286,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21213,
    "c": 0.0974,
    "h": 290.1
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#1B0941
secondary
#637F27
accent
#F236B6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B0941

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

Preview Lab → · Contrast checker → · Palette generator →

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