#1B0D43#1B0D43

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

Color values

HEX#1B0D43
RGBrgb(27, 13, 67)
HSLhsl(256, 68%, 16%)
HSVhsv(256, 81%, 26%)
CMYKcmyk(59.7%, 80.6%, 0%, 73.7%)
CIE-LABlab(8.36, 23.38, -31.50)
CIE-LCHlch(8.36, 39.23, 306.59°)
OKLaboklab(22.03% 0.0291 -0.0905)
OKLCHoklch(22.03% 0.095 287.8)
XYZxyz(1.6087, 0.9260, 5.4031)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D43 #35430D
analogous
#0D1A43 #1B0D43 #360D43
triadic
#1B0D43 #431B0D #0D431B
tetradic
#1B0D43 #430D1A #35430D #0D4336
square
#1B0D43 #430D1A #35430D #0D4336
split-complementary
#1B0D43 #43360D #1A430D
monochromatic
#0A051A #0A051A #1B0D43 #301776 #4421AA

Accessibility & contrast

On white

17.72
#1B0D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1B0D43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0D43
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0D43#FFFFFF#000000##FFFFFF
##1B0D431.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001742
Tritanopia (blue-blind)
#0B1B27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1b0d43;
/* rgb */ color: rgb(27, 13, 67);
/* oklch */ color: oklch(22.0% 0.095 287.8);
Tailwind
colors: {
  custom: {
    50: '#5d4d78',
    500: '#1b0d43',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d43;
$custom-light: #5d4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d43",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 255.556,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22029,
    "c": 0.09507,
    "h": 287.8
  },
  "luminance": 0.00926
}

Semantic roles & 50–950 ramp

primary
#1B0D43
secondary
#697E2D
accent
#EA3DBE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #1B0D43

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

Preview Lab → · Contrast checker → · Palette generator →

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