#1B0D5E#1B0D5E

#1B0D5E is a dark, vivid violet. Relative luminance 0.013; OKLCH L 25.1% C 0.131 H 279.1°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#1B0D5E
RGBrgb(27, 13, 94)
HSLhsl(250, 76%, 21%)
HSVhsv(250, 86%, 37%)
CMYKcmyk(71.3%, 86.2%, 0%, 63.1%)
CIE-LABlab(11.48, 32.53, -44.94)
CIE-LCHlch(11.48, 55.48, 305.90°)
OKLaboklab(25.15% 0.0208 -0.1298)
OKLCHoklch(25.15% 0.131 279.1)
XYZxyz(2.6157, 1.3288, 10.7061)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D5E #505E0D
analogous
#0D275E #1B0D5E #430D5E
triadic
#1B0D5E #5E1B0D #0D5E1B
tetradic
#1B0D5E #5E0D27 #505E0D #0D5E43
square
#1B0D5E #5E0D27 #505E0D #0D5E43
split-complementary
#1B0D5E #5E430D #275E0D
monochromatic
#08041B #0C0628 #1B0D5E #2A1494 #3A1CCA

Accessibility & contrast

On white

16.59
#1B0D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1B0D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0D5E
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0D5E#FFFFFF#000000##FFFFFF
##1B0D5E1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002160
Deuteranopia (green-blind)
#001B5D
Tritanopia (blue-blind)
#002636
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1b0d5e;
/* rgb */ color: rgb(27, 13, 94);
/* oklch */ color: oklch(25.1% 0.131 279.1);
Tailwind
colors: {
  custom: {
    50: '#634f8d',
    500: '#1b0d5e',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d5e;
$custom-light: #634f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d5e",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 94
  },
  "hsl": {
    "h": 250.37,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25145,
    "c": 0.13143,
    "h": 279.1
  },
  "luminance": 0.01329
}

Semantic roles & 50–950 ramp

primary
#1B0D5E
secondary
#86982F
accent
#F236D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1B0D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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