#1B0A44#1B0A44

#1B0A44 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.100 H 288.4°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#1B0A44
RGBrgb(27, 10, 68)
HSLhsl(258, 74%, 15%)
HSVhsv(258, 85%, 27%)
CMYKcmyk(60.3%, 85.3%, 0%, 73.3%)
CIE-LABlab(7.84, 25.50, -33.06)
CIE-LCHlch(7.84, 41.76, 307.64°)
OKLaboklab(21.69% 0.0316 -0.0951)
OKLCHoklch(21.69% 0.1 288.4)
XYZxyz(1.6036, 0.8674, 5.5506)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0A44 #33440A
analogous
#0A1644 #1B0A44 #380A44
triadic
#1B0A44 #441B0A #0A441B
tetradic
#1B0A44 #440A16 #33440A #0A4438
square
#1B0A44 #440A16 #33440A #0A4438
split-complementary
#1B0A44 #44380A #16440A
monochromatic
#0B041B #0B041B #1B0A44 #301279 #451AAF

Accessibility & contrast

On white

17.90
#1B0A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1B0A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0A44
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0A44#FFFFFF#000000##FFFFFF
##1B0A441.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001643
Tritanopia (blue-blind)
#0B1A26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1b0a44;
/* rgb */ color: rgb(27, 10, 68);
/* oklch */ color: oklch(21.7% 0.100 288.4);
Tailwind
colors: {
  custom: {
    50: '#5d4b79',
    500: '#1b0a44',
    950: '#000000',
  },
}
SCSS
$custom: #1b0a44;
$custom-light: #5d4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0a44",
  "rgb": {
    "r": 27,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 257.586,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21691,
    "c": 0.10022,
    "h": 288.4
  },
  "luminance": 0.00867
}

Semantic roles & 50–950 ramp

primary
#1B0A44
secondary
#678129
accent
#F137BA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1B0A44

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

Preview Lab → · Contrast checker → · Palette generator →

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