#1B0E47#1B0E47

#1B0E47 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.099 H 285.8°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#1B0E47
RGBrgb(27, 14, 71)
HSLhsl(254, 67%, 17%)
HSVhsv(254, 80%, 28%)
CMYKcmyk(62%, 80.3%, 0%, 72.2%)
CIE-LABlab(9.01, 24.14, -33.25)
CIE-LCHlch(9.01, 41.09, 305.98°)
OKLaboklab(22.62% 0.0271 -0.0957)
OKLCHoklch(22.62% 0.099 285.8)
XYZxyz(1.7460, 1.0019, 6.0614)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E47 #3A470E
analogous
#0E1E47 #1B0E47 #380E47
triadic
#1B0E47 #471B0E #0E471B
tetradic
#1B0E47 #470E1E #3A470E #0E4738
square
#1B0E47 #470E1E #3A470E #0E4738
split-complementary
#1B0E47 #47380E #1E470E
monochromatic
#0A051A #0A051A #1B0E47 #2E187A #4222AD

Accessibility & contrast

On white

17.49
#1B0E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1B0E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E47
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E47#FFFFFF#000000##FFFFFF
##1B0E471.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001846
Tritanopia (blue-blind)
#071D29
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1b0e47;
/* rgb */ color: rgb(27, 14, 71);
/* oklch */ color: oklch(22.6% 0.099 285.8);
Tailwind
colors: {
  custom: {
    50: '#5e4e7b',
    500: '#1b0e47',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e47;
$custom-light: #5e4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e47",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 253.684,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22619,
    "c": 0.09942,
    "h": 285.8
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#1B0E47
secondary
#6F822F
accent
#EA3EC3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0E47

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

Preview Lab → · Contrast checker → · Palette generator →

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