#1B0B4D#1B0B4D

#1B0B4D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.111 H 284.5°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#1B0B4D
RGBrgb(27, 11, 77)
HSLhsl(255, 75%, 17%)
HSVhsv(255, 86%, 30%)
CMYKcmyk(64.9%, 85.7%, 0%, 69.8%)
CIE-LABlab(9.06, 27.94, -37.35)
CIE-LCHlch(9.06, 46.64, 306.80°)
OKLaboklab(22.86% 0.0278 -0.1076)
OKLCHoklch(22.86% 0.111 284.5)
XYZxyz(1.9108, 1.0081, 7.1136)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0B4D #3D4D0B
analogous
#0B1C4D #1B0B4D #3C0B4D
triadic
#1B0B4D #4D1B0B #0B4D1B
tetradic
#1B0B4D #4D0B1C #3D4D0B #0B4D3C
square
#1B0B4D #4D0B1C #3D4D0B #0B4D3C
split-complementary
#1B0B4D #4D3C0B #1C4D0B
monochromatic
#09041B #09041B #1B0B4D #2E1383 #411AB8

Accessibility & contrast

On white

17.48
#1B0B4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0B4D
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0B4D#FFFFFF#000000##FFFFFF
##1B0B4D1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4F
Deuteranopia (green-blind)
#00174C
Tritanopia (blue-blind)
#011E2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1b0b4d;
/* rgb */ color: rgb(27, 11, 77);
/* oklch */ color: oklch(22.9% 0.111 284.5);
Tailwind
colors: {
  custom: {
    50: '#5f4c80',
    500: '#1b0b4d',
    950: '#000000',
  },
}
SCSS
$custom: #1b0b4d;
$custom-light: #5f4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0b4d",
  "rgb": {
    "r": 27,
    "g": 11,
    "b": 77
  },
  "hsl": {
    "h": 254.545,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22858,
    "c": 0.11117,
    "h": 284.5
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#1B0B4D
secondary
#72892B
accent
#F236C4
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1B0B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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