#1B0747#1B0747

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

Color values

HEX#1B0747
RGBrgb(27, 7, 71)
HSLhsl(259, 82%, 15%)
HSVhsv(259, 90%, 28%)
CMYKcmyk(62%, 90.1%, 0%, 72.2%)
CIE-LABlab(7.59, 28.19, -35.59)
CIE-LCHlch(7.59, 45.40, 308.39°)
OKLaboklab(21.62% 0.0332 -0.1025)
OKLCHoklch(21.62% 0.108 287.9)
XYZxyz(1.6650, 0.8398, 6.0344)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0747 #334707
analogous
#071347 #1B0747 #3B0747
triadic
#1B0747 #471B07 #07471B
tetradic
#1B0747 #470713 #334707 #07473B
square
#1B0747 #470713 #334707 #07473B
split-complementary
#1B0747 #473B07 #134707
monochromatic
#0B031C #0B031C #1B0747 #300C7F #4512B6

Accessibility & contrast

On white

17.98
#1B0747 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0747
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0747#FFFFFF#000000##FFFFFF
##1B07471.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#081A27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1b0747;
/* rgb */ color: rgb(27, 7, 71);
/* oklch */ color: oklch(21.6% 0.108 287.9);
Tailwind
colors: {
  custom: {
    50: '#5e4a7b',
    500: '#1b0747',
    950: '#000000',
  },
}
SCSS
$custom: #1b0747;
$custom-light: #5e4a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0747",
  "rgb": {
    "r": 27,
    "g": 7,
    "b": 71
  },
  "hsl": {
    "h": 258.75,
    "s": 82.051,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21619,
    "c": 0.10771,
    "h": 287.9
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#1B0747
secondary
#678624
accent
#F82FBA
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0747

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

Preview Lab → · Contrast checker → · Palette generator →

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