#1B0D41#1B0D41

#1B0D41 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.092 H 288.7°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#1B0D41
RGBrgb(27, 13, 65)
HSLhsl(256, 67%, 15%)
HSVhsv(256, 80%, 25%)
CMYKcmyk(58.5%, 80%, 0%, 74.5%)
CIE-LABlab(8.15, 22.69, -30.42)
CIE-LCHlch(8.15, 37.95, 306.72°)
OKLaboklab(21.82% 0.0295 -0.0874)
OKLCHoklch(21.82% 0.092 288.7)
XYZxyz(1.5498, 0.9024, 5.0925)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D41 #33410D
analogous
#0D1941 #1B0D41 #350D41
triadic
#1B0D41 #411B0D #0D411B
tetradic
#1B0D41 #410D19 #33410D #0D4135
square
#1B0D41 #410D19 #33410D #0D4135
split-complementary
#1B0D41 #41350D #19410D
monochromatic
#0B051A #0B051A #1B0D41 #301774 #4521A7

Accessibility & contrast

On white

17.79
#1B0D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0D41
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0D41#FFFFFF#000000##FFFFFF
##1B0D411.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001640
Tritanopia (blue-blind)
#0D1B25
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1b0d41;
/* rgb */ color: rgb(27, 13, 65);
/* oklch */ color: oklch(21.8% 0.092 288.7);
Tailwind
colors: {
  custom: {
    50: '#5c4d76',
    500: '#1b0d41',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d41;
$custom-light: #5c4d76;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d41",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 65
  },
  "hsl": {
    "h": 256.154,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21816,
    "c": 0.09223,
    "h": 288.7
  },
  "luminance": 0.00903
}

Semantic roles & 50–950 ramp

primary
#1B0D41
secondary
#677D2D
accent
#EA3EBB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B0D41

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

Preview Lab → · Contrast checker → · Palette generator →

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