#1B0347#1B0347

#1B0347 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.113 H 289.1°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#1B0347
RGBrgb(27, 3, 71)
HSLhsl(261, 92%, 15%)
HSVhsv(261, 96%, 28%)
CMYKcmyk(62%, 95.8%, 0%, 72.2%)
CIE-LABlab(6.80, 30.43, -36.88)
CIE-LCHlch(6.80, 47.81, 309.53°)
OKLaboklab(21.04% 0.0368 -0.1064)
OKLCHoklch(21.04% 0.113 289.1)
XYZxyz(1.6216, 0.7530, 6.0199)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0347 #2F4703
analogous
#030D47 #1B0347 #3D0347
triadic
#1B0347 #471B03 #03471B
tetradic
#1B0347 #47030D #2F4703 #03473D
square
#1B0347 #47030D #2F4703 #03473D
split-complementary
#1B0347 #473D03 #0D4703
monochromatic
#0B011D #0B011D #1B0347 #310582 #4808BC

Accessibility & contrast

On white

18.25
#1B0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0347
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0347#FFFFFF#000000##FFFFFF
##1B03471.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001649
Deuteranopia (green-blind)
#001346
Tritanopia (blue-blind)
#081826
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1b0347;
/* rgb */ color: rgb(27, 3, 71);
/* oklch */ color: oklch(21.0% 0.113 289.1);
Tailwind
colors: {
  custom: {
    50: '#5f477b',
    500: '#1b0347',
    950: '#000000',
  },
}
SCSS
$custom: #1b0347;
$custom-light: #5f477b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0347",
  "rgb": {
    "r": 27,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 261.176,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21043,
    "c": 0.11263,
    "h": 289.1
  },
  "luminance": 0.00753
}

Semantic roles & 50–950 ramp

primary
#1B0347
secondary
#63881E
accent
#FF29B3
background
#F5F4F7
surface
#EAE6EE
border
#C6C2C9
text
#050009
muted
#79777B

Preview Lab

Preview with #1B0347

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

Preview Lab → · Contrast checker → · Palette generator →

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