#1B0741#1B0741

#1B0741 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.100 H 290.8°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#1B0741
RGBrgb(27, 7, 65)
HSLhsl(261, 81%, 14%)
HSVhsv(261, 89%, 25%)
CMYKcmyk(58.5%, 89.2%, 0%, 74.5%)
CIE-LABlab(6.92, 26.09, -32.43)
CIE-LCHlch(6.92, 41.62, 308.82°)
OKLaboklab(20.92% 0.0356 -0.0935)
OKLCHoklch(20.92% 0.1 290.8)
XYZxyz(1.4818, 0.7666, 5.0699)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0741 #2D4107
analogous
#071041 #1B0741 #380741
triadic
#1B0741 #411B07 #07411B
tetradic
#1B0741 #410710 #2D4107 #074138
square
#1B0741 #410710 #2D4107 #074138
split-complementary
#1B0741 #413807 #104107
monochromatic
#0B031C #0B031C #1B0741 #320D78 #4913B0

Accessibility & contrast

On white

18.21
#1B0741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1B0741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0741
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0741#FFFFFF#000000##FFFFFF
##1B07411.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#0D1824
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1b0741;
/* rgb */ color: rgb(27, 7, 65);
/* oklch */ color: oklch(20.9% 0.100 290.8);
Tailwind
colors: {
  custom: {
    50: '#5d4976',
    500: '#1b0741',
    950: '#000000',
  },
}
SCSS
$custom: #1b0741;
$custom-light: #5d4976;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0741",
  "rgb": {
    "r": 27,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 260.69,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.20917,
    "c": 0.09999,
    "h": 290.8
  },
  "luminance": 0.00767
}

Semantic roles & 50–950 ramp

primary
#1B0741
secondary
#608024
accent
#F731B3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B0741

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

Preview Lab → · Contrast checker → · Palette generator →

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