#1B0E4F#1B0E4F

#1B0E4F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.111 H 283.0°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#1B0E4F
RGBrgb(27, 14, 79)
HSLhsl(252, 70%, 18%)
HSVhsv(252, 82%, 31%)
CMYKcmyk(65.8%, 82.3%, 0%, 69%)
CIE-LABlab(9.89, 26.91, -37.36)
CIE-LCHlch(9.89, 46.05, 305.76°)
OKLaboklab(23.51% 0.0249 -0.1077)
OKLCHoklch(23.51% 0.111 283)
XYZxyz(2.0199, 1.1115, 7.5037)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E4F #424F0E
analogous
#0E214F #1B0E4F #3B0E4F
triadic
#1B0E4F #4F1B0E #0E4F1B
tetradic
#1B0E4F #4F0E21 #424F0E #0E4F3B
square
#1B0E4F #4F0E21 #424F0E #0E4F3B
split-complementary
#1B0E4F #4F3B0E #214F0E
monochromatic
#09051A #09051B #1B0E4F #2D1783 #3F20B7

Accessibility & contrast

On white

17.18
#1B0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0E4F
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E4F#FFFFFF#000000##FFFFFF
##1B0E4F1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b0e4f;
/* rgb */ color: rgb(27, 14, 79);
/* oklch */ color: oklch(23.5% 0.111 283.0);
Tailwind
colors: {
  custom: {
    50: '#5f4e81',
    500: '#1b0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e4f;
$custom-light: #5f4e81;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e4f",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 252,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23508,
    "c": 0.11054,
    "h": 283
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#1B0E4F
secondary
#788A2F
accent
#ED3BC9
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1B0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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