#1B0D45#1B0D45

#1B0D45 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.2% C 0.098 H 286.9°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#1B0D45
RGBrgb(27, 13, 69)
HSLhsl(255, 68%, 16%)
HSVhsv(255, 81%, 27%)
CMYKcmyk(60.9%, 81.2%, 0%, 72.9%)
CIE-LABlab(8.57, 24.07, -32.56)
CIE-LCHlch(8.57, 40.49, 306.47°)
OKLaboklab(22.25% 0.0285 -0.0936)
OKLCHoklch(22.25% 0.098 286.9)
XYZxyz(1.6698, 0.9504, 5.7245)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0D45 #37450D
analogous
#0D1B45 #1B0D45 #370D45
triadic
#1B0D45 #451B0D #0D451B
tetradic
#1B0D45 #450D1B #37450D #0D4537
square
#1B0D45 #450D1B #37450D #0D4537
split-complementary
#1B0D45 #45370D #1B450D
monochromatic
#0A051A #0A051A #1B0D45 #2F1778 #4320AC

Accessibility & contrast

On white

17.64
#1B0D45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1B0D45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0D45
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0D45#FFFFFF#000000##FFFFFF
##1B0D451.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A47
Deuteranopia (green-blind)
#001744
Tritanopia (blue-blind)
#091C28
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1b0d45;
/* rgb */ color: rgb(27, 13, 69);
/* oklch */ color: oklch(22.2% 0.098 286.9);
Tailwind
colors: {
  custom: {
    50: '#5d4d79',
    500: '#1b0d45',
    950: '#000000',
  },
}
SCSS
$custom: #1b0d45;
$custom-light: #5d4d79;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0d45",
  "rgb": {
    "r": 27,
    "g": 13,
    "b": 69
  },
  "hsl": {
    "h": 255,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.22245,
    "c": 0.09789,
    "h": 286.9
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#1B0D45
secondary
#6C802D
accent
#EB3DC0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0D45

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

Preview Lab → · Contrast checker → · Palette generator →

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