#1B0D4E#1B0D4E

#1B0D4E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.110 H 283.6°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#1B0D4E
RGBrgb(27, 13, 78)
HSLhsl(253, 71%, 18%)
HSVhsv(253, 83%, 31%)
CMYKcmyk(65.4%, 83.3%, 0%, 69.4%)
CIE-LABlab(9.57, 27.15, -37.20)
CIE-LCHlch(9.57, 46.06, 306.13°)
OKLaboklab(23.25% 0.026 -0.1072)
OKLCHoklch(23.25% 0.11 283.6)
XYZxyz(1.9706, 1.0708, 7.3091)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D4E #404E0D
analogous
#0D1F4E #1B0D4E #3B0D4E
triadic
#1B0D4E #4E1B0D #0D4E1B
tetradic
#1B0D4E #4E0D1F #404E0D #0D4E3B
square
#1B0D4E #4E0D1F #404E0D #0D4E3B
split-complementary
#1B0D4E #4E3B0D #1F4E0D
monochromatic
#09041A #09041A #1B0D4E #2D1682 #3F1EB7

Accessibility & contrast

On white

17.30
#1B0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0D4E
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0D4E#FFFFFF#000000##FFFFFF
##1B0D4E1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1b0d4e;
/* rgb */ color: rgb(27, 13, 78);
/* oklch */ color: oklch(23.2% 0.110 283.6);
Tailwind
colors: {
  custom: {
    50: '#5f4d80',
    500: '#1b0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d4e;
$custom-light: #5f4d80;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d4e",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 252.923,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23249,
    "c": 0.11032,
    "h": 283.6
  },
  "luminance": 0.01071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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