#1B0346#1B0346

#1B0346 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.9% C 0.111 H 289.6°. Best body text is #FFFFFF at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#1B0346
RGBrgb(27, 3, 70)
HSLhsl(261, 92%, 14%)
HSVhsv(261, 96%, 27%)
CMYKcmyk(61.4%, 95.7%, 0%, 72.5%)
CIE-LABlab(6.69, 30.08, -36.36)
CIE-LCHlch(6.69, 47.19, 309.60°)
OKLaboklab(20.92% 0.0373 -0.105)
OKLCHoklch(20.92% 0.111 289.6)
XYZxyz(1.5897, 0.7403, 5.8523)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0346 #2E4603
analogous
#030C46 #1B0346 #3D0346
triadic
#1B0346 #461B03 #03461B
tetradic
#1B0346 #46030C #2E4603 #03463D
square
#1B0346 #46030C #2E4603 #03463D
split-complementary
#1B0346 #463D03 #0C4603
monochromatic
#0B011D #0B011D #1B0346 #320681 #4808BB

Accessibility & contrast

On white

18.29
#1B0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0346
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0346#FFFFFF#000000##FFFFFF
##1B03461.0018.291.1518.29
#FFFFFF18.291.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001648
Deuteranopia (green-blind)
#001345
Tritanopia (blue-blind)
#091826
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1b0346;
/* rgb */ color: rgb(27, 3, 70);
/* oklch */ color: oklch(20.9% 0.111 289.6);
Tailwind
colors: {
  custom: {
    50: '#5e477a',
    500: '#1b0346',
    950: '#000000',
  },
}
SCSS
$custom: #1b0346;
$custom-light: #5e477a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0346",
  "rgb": {
    "r": 27,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 261.493,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20917,
    "c": 0.11144,
    "h": 289.6
  },
  "luminance": 0.0074
}

Semantic roles & 50–950 ramp

primary
#1B0346
secondary
#61871D
accent
#FF29B2
background
#F5F4F7
surface
#EAE6EE
border
#C6C2C9
text
#050009
muted
#79777B

Preview Lab

Preview with #1B0346

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

Preview Lab → · Contrast checker → · Palette generator →

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