#1B0646#1B0646

#1B0646 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.108 H 288.7°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#1B0646
RGBrgb(27, 6, 70)
HSLhsl(260, 84%, 15%)
HSVhsv(260, 91%, 27%)
CMYKcmyk(61.4%, 91.4%, 0%, 72.5%)
CIE-LABlab(7.28, 28.41, -35.39)
CIE-LCHlch(7.28, 45.39, 308.76°)
OKLaboklab(21.36% 0.0345 -0.102)
OKLCHoklch(21.36% 0.108 288.7)
XYZxyz(1.6223, 0.8054, 5.8631)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0646 #314606
analogous
#061146 #1B0646 #3B0646
triadic
#1B0646 #461B06 #06461B
tetradic
#1B0646 #460611 #314606 #06463B
square
#1B0646 #460611 #314606 #06463B
split-complementary
#1B0646 #463B06 #114606
monochromatic
#0B021C #0B021C #1B0646 #310B7E #4610B7

Accessibility & contrast

On white

18.09
#1B0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1B0646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0646
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0646#FFFFFF#000000##FFFFFF
##1B06461.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#091927
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1b0646;
/* rgb */ color: rgb(27, 6, 70);
/* oklch */ color: oklch(21.4% 0.108 288.7);
Tailwind
colors: {
  custom: {
    50: '#5e497a',
    500: '#1b0646',
    950: '#000000',
  },
}
SCSS
$custom: #1b0646;
$custom-light: #5e497a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0646",
  "rgb": {
    "r": 27,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 259.688,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21357,
    "c": 0.10765,
    "h": 288.7
  },
  "luminance": 0.00805
}

Semantic roles & 50–950 ramp

primary
#1B0646
secondary
#658522
accent
#FA2DB7
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0646

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

Preview Lab → · Contrast checker → · Palette generator →

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