#1B0E4A#1B0E4A

#1B0E4A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.104 H 284.7°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#1B0E4A
RGBrgb(27, 14, 74)
HSLhsl(253, 68%, 17%)
HSVhsv(253, 81%, 29%)
CMYKcmyk(63.5%, 81.1%, 0%, 71%)
CIE-LABlab(9.33, 25.18, -34.81)
CIE-LCHlch(9.33, 42.97, 305.88°)
OKLaboklab(22.95% 0.0263 -0.1003)
OKLCHoklch(22.95% 0.104 284.7)
XYZxyz(1.8447, 1.0414, 6.5810)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E4A #3D4A0E
analogous
#0E1F4A #1B0E4A #390E4A
triadic
#1B0E4A #4A1B0E #0E4A1B
tetradic
#1B0E4A #4A0E1F #3D4A0E #0E4A39
square
#1B0E4A #4A0E1F #3D4A0E #0E4A39
split-complementary
#1B0E4A #4A390E #1F4A0E
monochromatic
#09051A #09051A #1B0E4A #2E187D #4121B1

Accessibility & contrast

On white

17.38
#1B0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1B0E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E4A
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E4A#FFFFFF#000000##FFFFFF
##1B0E4A1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#041E2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1b0e4a;
/* rgb */ color: rgb(27, 14, 74);
/* oklch */ color: oklch(22.9% 0.104 284.7);
Tailwind
colors: {
  custom: {
    50: '#5e4e7d',
    500: '#1b0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e4a;
$custom-light: #5e4e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e4a",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 253,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22947,
    "c": 0.10363,
    "h": 284.7
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#1B0E4A
secondary
#72852F
accent
#EB3DC5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1B0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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