#1B0933#1B0933

#1B0933 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.7% C 0.078 H 298.6°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#1B0933
RGBrgb(27, 9, 51)
HSLhsl(266, 70%, 12%)
HSVhsv(266, 82%, 20%)
CMYKcmyk(47.1%, 82.4%, 0%, 80%)
CIE-LABlab(6.03, 19.74, -23.74)
CIE-LCHlch(6.03, 30.87, 309.74°)
OKLaboklab(19.74% 0.0374 -0.0687)
OKLCHoklch(19.74% 0.078 298.6)
XYZxyz(1.1471, 0.6674, 3.1997)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B0933 #213309
analogous
#090C33 #1B0933 #300933
triadic
#1B0933 #331B09 #09331B
tetradic
#1B0933 #33090C #213309 #093330
square
#1B0933 #33090C #213309 #093330
split-complementary
#1B0933 #333009 #0C3309
monochromatic
#0E051A #0E051A #1B0933 #371267 #521B9B

Accessibility & contrast

On white

18.53
#1B0933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B0933
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B0933#FFFFFF#000000##FFFFFF
##1B09331.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001334
Deuteranopia (green-blind)
#001332
Tritanopia (blue-blind)
#15131D
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1b0933;
/* rgb */ color: rgb(27, 9, 51);
/* oklch */ color: oklch(19.7% 0.078 298.6);
Tailwind
colors: {
  custom: {
    50: '#5a4a6b',
    500: '#1b0933',
    950: '#000000',
  },
}
SCSS
$custom: #1b0933;
$custom-light: #5a4a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#1b0933",
  "rgb": {
    "r": 27,
    "g": 9,
    "b": 51
  },
  "hsl": {
    "h": 265.714,
    "s": 70,
    "l": 11.765
  },
  "oklch": {
    "l": 0.19735,
    "c": 0.0782,
    "h": 298.6
  },
  "luminance": 0.00667
}

Semantic roles & 50–950 ramp

primary
#1B0933
secondary
#517127
accent
#ED3BA1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1B0933

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

Preview Lab → · Contrast checker → · Palette generator →

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