#1B0E4E#1B0E4E

#1B0E4E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.109 H 283.3°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#1B0E4E
RGBrgb(27, 14, 78)
HSLhsl(252, 70%, 18%)
HSVhsv(252, 82%, 31%)
CMYKcmyk(65.4%, 82.1%, 0%, 69.4%)
CIE-LABlab(9.77, 26.57, -36.86)
CIE-LCHlch(9.77, 45.44, 305.78°)
OKLaboklab(23.4% 0.0252 -0.1062)
OKLCHoklch(23.4% 0.109 283.3)
XYZxyz(1.9838, 1.0970, 7.3135)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E4E #414E0E
analogous
#0E214E #1B0E4E #3B0E4E
triadic
#1B0E4E #4E1B0E #0E4E1B
tetradic
#1B0E4E #4E0E21 #414E0E #0E4E3B
square
#1B0E4E #4E0E21 #414E0E #0E4E3B
split-complementary
#1B0E4E #4E3B0E #214E0E
monochromatic
#09051A #09051A #1B0E4E #2D1782 #3F21B6

Accessibility & contrast

On white

17.22
#1B0E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1B0E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E4E
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E4E#FFFFFF#000000##FFFFFF
##1B0E4E1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#00194D
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1b0e4e;
/* rgb */ color: rgb(27, 14, 78);
/* oklch */ color: oklch(23.4% 0.109 283.3);
Tailwind
colors: {
  custom: {
    50: '#5f4e80',
    500: '#1b0e4e',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e4e;
$custom-light: #5f4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e4e",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 252.188,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23395,
    "c": 0.10917,
    "h": 283.3
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#1B0E4E
secondary
#76892F
accent
#EC3BC8
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1B0E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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