#1B0A41#1B0A41

#1B0A41 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.096 H 289.8°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#1B0A41
RGBrgb(27, 10, 65)
HSLhsl(259, 73%, 15%)
HSVhsv(259, 85%, 25%)
CMYKcmyk(58.5%, 84.6%, 0%, 74.5%)
CIE-LABlab(7.51, 24.47, -31.46)
CIE-LCHlch(7.51, 39.86, 307.87°)
OKLaboklab(21.36% 0.0326 -0.0905)
OKLCHoklch(21.36% 0.096 289.8)
XYZxyz(1.5144, 0.8317, 5.0807)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0A41 #30410A
analogous
#0A1541 #1B0A41 #360A41
triadic
#1B0A41 #411B0A #0A411B
tetradic
#1B0A41 #410A15 #30410A #0A4136
square
#1B0A41 #410A15 #30410A #0A4136
split-complementary
#1B0A41 #41360A #15410A
monochromatic
#0B041B #0B041B #1B0A41 #311276 #471AAB

Accessibility & contrast

On white

18.00
#1B0A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0A41
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0A41#FFFFFF#000000##FFFFFF
##1B0A411.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001540
Tritanopia (blue-blind)
#0D1925
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1b0a41;
/* rgb */ color: rgb(27, 10, 65);
/* oklch */ color: oklch(21.4% 0.096 289.8);
Tailwind
colors: {
  custom: {
    50: '#5d4b76',
    500: '#1b0a41',
    950: '#000000',
  },
}
SCSS
$custom: #1b0a41;
$custom-light: #5d4b76;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0a41",
  "rgb": {
    "r": 27,
    "g": 10,
    "b": 65
  },
  "hsl": {
    "h": 258.545,
    "s": 73.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21358,
    "c": 0.09615,
    "h": 289.8
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#1B0A41
secondary
#647E29
accent
#F038B7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1B0A41

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

Preview Lab → · Contrast checker → · Palette generator →

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