#1B0E4B#1B0E4B

#1B0E4B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.105 H 284.3°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#1B0E4B
RGBrgb(27, 14, 75)
HSLhsl(253, 69%, 17%)
HSVhsv(253, 81%, 29%)
CMYKcmyk(64%, 81.3%, 0%, 70.6%)
CIE-LABlab(9.44, 25.53, -35.33)
CIE-LCHlch(9.44, 43.59, 305.85°)
OKLaboklab(23.06% 0.026 -0.1018)
OKLCHoklch(23.06% 0.105 284.3)
XYZxyz(1.8786, 1.0550, 6.7599)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E4B #3E4B0E
analogous
#0E1F4B #1B0E4B #3A0E4B
triadic
#1B0E4B #4B1B0E #0E4B1B
tetradic
#1B0E4B #4B0E1F #3E4B0E #0E4B3A
square
#1B0E4B #4B0E1F #3E4B0E #0E4B3A
split-complementary
#1B0E4B #4B3A0E #1F4B0E
monochromatic
#09051A #09051A #1B0E4B #2E187F #4021B2

Accessibility & contrast

On white

17.34
#1B0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0E4B
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E4B#FFFFFF#000000##FFFFFF
##1B0E4B1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4D
Deuteranopia (green-blind)
#00184A
Tritanopia (blue-blind)
#031F2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1b0e4b;
/* rgb */ color: rgb(27, 14, 75);
/* oklch */ color: oklch(23.1% 0.105 284.3);
Tailwind
colors: {
  custom: {
    50: '#5e4e7e',
    500: '#1b0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e4b;
$custom-light: #5e4e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e4b",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 252.787,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.23058,
    "c": 0.10503,
    "h": 284.3
  },
  "luminance": 0.01055
}

Semantic roles & 50–950 ramp

primary
#1B0E4B
secondary
#73862F
accent
#EB3CC6
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1B0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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