#1B0D5B#1B0D5B

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

Color values

HEX#1B0D5B
RGBrgb(27, 13, 91)
HSLhsl(251, 75%, 20%)
HSVhsv(251, 86%, 36%)
CMYKcmyk(70.3%, 85.7%, 0%, 64.3%)
CIE-LABlab(11.11, 31.53, -43.53)
CIE-LCHlch(11.11, 53.75, 305.92°)
OKLaboklab(24.78% 0.0218 -0.1257)
OKLCHoklch(24.78% 0.128 279.8)
XYZxyz(2.4836, 1.2760, 10.0109)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D5B #4D5B0D
analogous
#0D265B #1B0D5B #420D5B
triadic
#1B0D5B #5B1B0D #0D5B1B
tetradic
#1B0D5B #5B0D26 #4D5B0D #0D5B42
square
#1B0D5B #5B0D26 #4D5B0D #0D5B42
split-complementary
#1B0D5B #5B420D #265B0D
monochromatic
#08041B #0B0525 #1B0D5B #2B1591 #3B1CC6

Accessibility & contrast

On white

16.73
#1B0D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0D5B
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0D5B#FFFFFF#000000##FFFFFF
##1B0D5B1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205D
Deuteranopia (green-blind)
#001B5A
Tritanopia (blue-blind)
#002534
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b0d5b;
/* rgb */ color: rgb(27, 13, 91);
/* oklch */ color: oklch(24.8% 0.128 279.8);
Tailwind
colors: {
  custom: {
    50: '#624e8a',
    500: '#1b0d5b',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d5b;
$custom-light: #624e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d5b",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 91
  },
  "hsl": {
    "h": 250.769,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.24781,
    "c": 0.12755,
    "h": 279.8
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#1B0D5B
secondary
#83952F
accent
#F236D0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B0D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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