#1B0E44#1B0E44

#1B0E44 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.095 H 287.0°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#1B0E44
RGBrgb(27, 14, 68)
HSLhsl(254, 66%, 16%)
HSVhsv(254, 79%, 27%)
CMYKcmyk(60.3%, 79.4%, 0%, 73.3%)
CIE-LABlab(8.69, 23.09, -31.66)
CIE-LCHlch(8.69, 39.19, 306.11°)
OKLaboklab(22.3% 0.0278 -0.091)
OKLCHoklch(22.3% 0.095 287)
XYZxyz(1.6521, 0.9644, 5.5668)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E44 #37440E
analogous
#0E1C44 #1B0E44 #360E44
triadic
#1B0E44 #441B0E #0E441B
tetradic
#1B0E44 #440E1C #37440E #0E4436
square
#1B0E44 #440E1C #37440E #0E4436
split-complementary
#1B0E44 #44360E #1C440E
monochromatic
#0A0519 #0A0519 #1B0E44 #2F1877 #4323AA

Accessibility & contrast

On white

17.61
#1B0E44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1B0E44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E44
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E44#FFFFFF#000000##FFFFFF
##1B0E441.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001743
Tritanopia (blue-blind)
#0A1C27
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1b0e44;
/* rgb */ color: rgb(27, 14, 68);
/* oklch */ color: oklch(22.3% 0.095 287.0);
Tailwind
colors: {
  custom: {
    50: '#5d4d78',
    500: '#1b0e44',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e44;
$custom-light: #5d4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e44",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 68
  },
  "hsl": {
    "h": 254.444,
    "s": 65.854,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22297,
    "c": 0.09516,
    "h": 287
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#1B0E44
secondary
#6C7F2F
accent
#E93FC0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #1B0E44

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

Preview Lab → · Contrast checker → · Palette generator →

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