#1B0746#1B0746

#1B0746 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.106 H 288.4°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#1B0746
RGBrgb(27, 7, 70)
HSLhsl(259, 82%, 15%)
HSVhsv(259, 90%, 27%)
CMYKcmyk(61.4%, 90%, 0%, 72.5%)
CIE-LABlab(7.47, 27.85, -35.07)
CIE-LCHlch(7.47, 44.79, 308.45°)
OKLaboklab(21.5% 0.0336 -0.101)
OKLCHoklch(21.5% 0.106 288.4)
XYZxyz(1.6331, 0.8271, 5.8668)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0746 #324607
analogous
#071246 #1B0746 #3B0746
triadic
#1B0746 #461B07 #07461B
tetradic
#1B0746 #460712 #324607 #07463B
square
#1B0746 #460712 #324607 #07463B
split-complementary
#1B0746 #463B07 #124607
monochromatic
#0B031C #0B031C #1B0746 #300D7E #4612B5

Accessibility & contrast

On white

18.02
#1B0746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1B0746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0746
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0746#FFFFFF#000000##FFFFFF
##1B07461.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001545
Tritanopia (blue-blind)
#091A27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1b0746;
/* rgb */ color: rgb(27, 7, 70);
/* oklch */ color: oklch(21.5% 0.106 288.4);
Tailwind
colors: {
  custom: {
    50: '#5e497a',
    500: '#1b0746',
    950: '#000000',
  },
}
SCSS
$custom: #1b0746;
$custom-light: #5e497a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0746",
  "rgb": {
    "r": 27,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 259.048,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.215,
    "c": 0.10643,
    "h": 288.4
  },
  "luminance": 0.00827
}

Semantic roles & 50–950 ramp

primary
#1B0746
secondary
#668524
accent
#F830B9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0746

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

Preview Lab → · Contrast checker → · Palette generator →

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