#1B0D4D#1B0D4D

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

Color values

HEX#1B0D4D
RGBrgb(27, 13, 77)
HSLhsl(253, 71%, 18%)
HSVhsv(253, 83%, 30%)
CMYKcmyk(64.9%, 83.1%, 0%, 69.8%)
CIE-LABlab(9.45, 26.81, -36.70)
CIE-LCHlch(9.45, 45.45, 306.15°)
OKLaboklab(23.14% 0.0263 -0.1057)
OKLCHoklch(23.14% 0.109 283.9)
XYZxyz(1.9351, 1.0566, 7.1217)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D4D #3F4D0D
analogous
#0D1F4D #1B0D4D #3B0D4D
triadic
#1B0D4D #4D1B0D #0D4D1B
tetradic
#1B0D4D #4D0D1F #3F4D0D #0D4D3B
square
#1B0D4D #4D0D1F #3F4D0D #0D4D3B
split-complementary
#1B0D4D #4D3B0D #1F4D0D
monochromatic
#09041A #09041A #1B0D4D #2D1681 #401FB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1B0D4D#FFFFFF#000000##FFFFFF
##1B0D4D1.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)
#001C4F
Deuteranopia (green-blind)
#00184C
Tritanopia (blue-blind)
#011F2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1b0d4d;
/* rgb */ color: rgb(27, 13, 77);
/* oklch */ color: oklch(23.1% 0.109 283.9);
Tailwind
colors: {
  custom: {
    50: '#5f4d80',
    500: '#1b0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d4d;
$custom-light: #5f4d80;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d4d",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 253.125,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23135,
    "c": 0.10896,
    "h": 283.9
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#1B0D4D
secondary
#74882E
accent
#EE3AC7
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1B0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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