#1B0B4E#1B0B4E

#1B0B4E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.112 H 284.1°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#1B0B4E
RGBrgb(27, 11, 78)
HSLhsl(254, 75%, 17%)
HSVhsv(254, 86%, 31%)
CMYKcmyk(65.4%, 85.9%, 0%, 69.4%)
CIE-LABlab(9.18, 28.28, -37.85)
CIE-LCHlch(9.18, 47.24, 306.77°)
OKLaboklab(22.98% 0.0275 -0.1091)
OKLCHoklch(22.98% 0.112 284.1)
XYZxyz(1.9464, 1.0223, 7.3010)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0B4E #3E4E0B
analogous
#0B1D4E #1B0B4E #3C0B4E
triadic
#1B0B4E #4E1B0B #0B4E1B
tetradic
#1B0B4E #4E0B1D #3E4E0B #0B4E3C
square
#1B0B4E #4E0B1D #3E4E0B #0B4E3C
split-complementary
#1B0B4E #4E3C0B #1D4E0B
monochromatic
#09041B #09041B #1B0B4E #2E1384 #401AB9

Accessibility & contrast

On white

17.44
#1B0B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1B0B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0B4E
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0B4E#FFFFFF#000000##FFFFFF
##1B0B4E1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1b0b4e;
/* rgb */ color: rgb(27, 11, 78);
/* oklch */ color: oklch(23.0% 0.112 284.1);
Tailwind
colors: {
  custom: {
    50: '#5f4c80',
    500: '#1b0b4e',
    950: '#000000',
  },
}
SCSS
$custom: #1b0b4e;
$custom-light: #5f4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0b4e",
  "rgb": {
    "r": 27,
    "g": 11,
    "b": 78
  },
  "hsl": {
    "h": 254.328,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22975,
    "c": 0.11249,
    "h": 284.1
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#1B0B4E
secondary
#738A2B
accent
#F236C5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1B0B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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