#1B0E4D#1B0E4D

#1B0E4D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.108 H 283.7°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#1B0E4D
RGBrgb(27, 14, 77)
HSLhsl(252, 69%, 18%)
HSVhsv(252, 82%, 30%)
CMYKcmyk(64.9%, 81.8%, 0%, 69.8%)
CIE-LABlab(9.66, 26.22, -36.35)
CIE-LCHlch(9.66, 44.82, 305.80°)
OKLaboklab(23.28% 0.0254 -0.1047)
OKLCHoklch(23.28% 0.108 283.7)
XYZxyz(1.9482, 1.0828, 7.1261)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E4D #404D0E
analogous
#0E204D #1B0E4D #3A0E4D
triadic
#1B0E4D #4D1B0E #0E4D1B
tetradic
#1B0E4D #4D0E20 #404D0E #0E4D3A
square
#1B0E4D #4D0E20 #404D0E #0E4D3A
split-complementary
#1B0E4D #4D3A0E #204D0E
monochromatic
#09051A #09051A #1B0E4D #2D1781 #3F21B5

Accessibility & contrast

On white

17.26
#1B0E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0E4D
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E4D#FFFFFF#000000##FFFFFF
##1B0E4D1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4F
Deuteranopia (green-blind)
#00194C
Tritanopia (blue-blind)
#01202C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1b0e4d;
/* rgb */ color: rgb(27, 14, 77);
/* oklch */ color: oklch(23.3% 0.108 283.7);
Tailwind
colors: {
  custom: {
    50: '#5f4e80',
    500: '#1b0e4d',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e4d;
$custom-light: #5f4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e4d",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 252.381,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23282,
    "c": 0.10779,
    "h": 283.7
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#1B0E4D
secondary
#75882F
accent
#EC3CC8
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1B0E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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