#1B0E5A#1B0E5A

#1B0E5A is a very dark, vivid violet. Relative luminance 0.013; OKLCH L 24.8% C 0.125 H 279.9°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#1B0E5A
RGBrgb(27, 14, 90)
HSLhsl(250, 73%, 20%)
HSVhsv(250, 84%, 35%)
CMYKcmyk(70%, 84.4%, 0%, 64.7%)
CIE-LABlab(11.17, 30.66, -42.75)
CIE-LCHlch(11.17, 52.61, 305.65°)
OKLaboklab(24.79% 0.0215 -0.1234)
OKLCHoklch(24.79% 0.125 279.9)
XYZxyz(2.4539, 1.2851, 9.7896)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E5A #4D5A0E
analogous
#0E275A #1B0E5A #410E5A
triadic
#1B0E5A #5A1B0E #0E5A1B
tetradic
#1B0E5A #5A0E27 #4D5A0E #0E5A41
square
#1B0E5A #5A0E27 #4D5A0E #0E5A41
split-complementary
#1B0E5A #5A410E #275A0E
monochromatic
#08041A #0B0625 #1B0E5A #2B168F #3B1EC4

Accessibility & contrast

On white

16.71
#1B0E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1B0E5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E5A
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E5A#FFFFFF#000000##FFFFFF
##1B0E5A1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215C
Deuteranopia (green-blind)
#001B59
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b0e5a;
/* rgb */ color: rgb(27, 14, 90);
/* oklch */ color: oklch(24.8% 0.125 279.9);
Tailwind
colors: {
  custom: {
    50: '#624f8a',
    500: '#1b0e5a',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e5a;
$custom-light: #624f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e5a",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 90
  },
  "hsl": {
    "h": 250.263,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2479,
    "c": 0.12529,
    "h": 279.9
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#1B0E5A
secondary
#839430
accent
#F038D0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B0E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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