#1B0E2B#1B0E2B

#1B0E2B is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.9% C 0.057 H 302.2°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#1B0E2B
RGBrgb(27, 14, 43)
HSLhsl(267, 51%, 11%)
HSVhsv(267, 67%, 17%)
CMYKcmyk(37.2%, 67.4%, 0%, 83.1%)
CIE-LABlab(6.52, 14.12, -17.01)
CIE-LCHlch(6.52, 22.11, 309.70°)
OKLaboklab(19.93% 0.0305 -0.0485)
OKLCHoklch(19.93% 0.057 302.2)
XYZxyz(1.0450, 0.7215, 2.3692)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0E2B #1E2B0E
analogous
#0E0F2B #1B0E2B #290E2B
triadic
#1B0E2B #2B1B0E #0E2B1B
tetradic
#1B0E2B #2B0E0F #1E2B0E #0E2B29
square
#1B0E2B #2B0E0F #1E2B0E #0E2B29
split-complementary
#1B0E2B #2B290E #0F2B0E
monochromatic
#0E0817 #0E0817 #1B0E2B #381D59 #552C87

Accessibility & contrast

On white

18.35
#1B0E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1B0E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B0E2B
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0E2B#FFFFFF#000000##FFFFFF
##1B0E2B1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04142C
Deuteranopia (green-blind)
#08142A
Tritanopia (blue-blind)
#18141A
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1b0e2b;
/* rgb */ color: rgb(27, 14, 43);
/* oklch */ color: oklch(19.9% 0.057 302.2);
Tailwind
colors: {
  custom: {
    50: '#584d64',
    500: '#1b0e2b',
    950: '#000000',
  },
}
SCSS
$custom: #1b0e2b;
$custom-light: #584d64;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0e2b",
  "rgb": {
    "r": 27,
    "g": 14,
    "b": 43
  },
  "hsl": {
    "h": 266.897,
    "s": 50.877,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19934,
    "c": 0.0573,
    "h": 302.2
  },
  "luminance": 0.00722
}

Semantic roles & 50–950 ramp

primary
#1B0E2B
secondary
#4D6530
accent
#DA4D9B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #1B0E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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