#0B001F#0B001F

#0B001F is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 12.9% C 0.070 H 296.4°. Best body text is #FFFFFF at 20.31:1 contrast (WCAG AA passes).

Color values

HEX#0B001F
RGBrgb(11, 0, 31)
HSLhsl(261, 100%, 6%)
HSVhsv(261, 100%, 12%)
CMYKcmyk(64.5%, 100%, 0%, 87.8%)
CIE-LABlab(1.54, 9.16, -15.58)
CIE-LCHlch(1.54, 18.07, 300.46°)
OKLaboklab(12.9% 0.0312 -0.0629)
OKLCHoklch(12.9% 0.07 296.4)
XYZxyz(0.3853, 0.1701, 1.3086)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B001F #141F00
analogous
#00041F #0B001F #1A001F
triadic
#0B001F #1F0B00 #001F0B
tetradic
#0B001F #1F0004 #141F00 #001F1A
square
#0B001F #1F0004 #141F00 #001F1A
split-complementary
#0B001F #1F1A00 #041F00
monochromatic
#0B001F #0B001F #0B001F #21005C #360099

Accessibility & contrast

On white

20.31
#0B001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#0B001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B001F
20.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B001F#FFFFFF#000000##FFFFFF
##0B001F1.0020.311.0320.31
#FFFFFF20.311.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000620
Deuteranopia (green-blind)
#00051E
Tritanopia (blue-blind)
#06060D
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #0b001f;
/* rgb */ color: rgb(11, 0, 31);
/* oklch */ color: oklch(12.9% 0.070 296.4);
Tailwind
colors: {
  custom: {
    50: '#4b475a',
    500: '#0b001f',
    950: '#000000',
  },
}
SCSS
$custom: #0b001f;
$custom-light: #4b475a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b001f",
  "rgb": {
    "r": 11,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 261.29,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.12895,
    "c": 0.07025,
    "h": 296.4
  },
  "luminance": 0.0017
}

Semantic roles & 50–950 ramp

primary
#0B001F
secondary
#4A6812
accent
#FF29B3
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0B001F

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

Preview Lab → · Contrast checker → · Palette generator →

#0B001F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva