#1B0A2D#1B0A2D

#1B0A2D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.068 H 302.9°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#1B0A2D
RGBrgb(27, 10, 45)
HSLhsl(269, 64%, 11%)
HSVhsv(269, 78%, 18%)
CMYKcmyk(40%, 77.8%, 0%, 82.4%)
CIE-LABlab(5.78, 16.92, -19.68)
CIE-LCHlch(5.78, 25.96, 310.69°)
OKLaboklab(19.34% 0.0369 -0.057)
OKLCHoklch(19.34% 0.068 302.9)
XYZxyz(1.0341, 0.6396, 2.5511)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0A2D #1C2D0A
analogous
#0A0A2D #1B0A2D #2C0A2D
triadic
#1B0A2D #2D1B0A #0A2D1B
tetradic
#1B0A2D #2D0A0A #1C2D0A #0A2D2C
square
#1B0A2D #2D0A0A #1C2D0A #0A2D2C
split-complementary
#1B0A2D #2D2C0A #0A2D0A
monochromatic
#0F0619 #0F0619 #1B0A2D #39155F #572091

Accessibility & contrast

On white

18.62
#1B0A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1B0A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0A2D
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0A2D#FFFFFF#000000##FFFFFF
##1B0A2D1.0018.621.1318.62
#FFFFFF18.621.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#02132C
Tritanopia (blue-blind)
#17121A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1b0a2d;
/* rgb */ color: rgb(27, 10, 45);
/* oklch */ color: oklch(19.3% 0.068 302.9);
Tailwind
colors: {
  custom: {
    50: '#594b66',
    500: '#1b0a2d',
    950: '#000000',
  },
}
SCSS
$custom: #1b0a2d;
$custom-light: #594b66;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0a2d",
  "rgb": {
    "r": 27,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 269.143,
    "s": 63.636,
    "l": 10.784
  },
  "oklch": {
    "l": 0.19341,
    "c": 0.06792,
    "h": 302.9
  },
  "luminance": 0.0064
}

Semantic roles & 50–950 ramp

primary
#1B0A2D
secondary
#4A6A29
accent
#E74196
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #1B0A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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