#0B0122#0B0122

#0B0122 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.7% C 0.071 H 292.2°. Best body text is #FFFFFF at 20.16:1 contrast (WCAG AA passes).

Color values

HEX#0B0122
RGBrgb(11, 1, 34)
HSLhsl(258, 94%, 7%)
HSVhsv(258, 97%, 13%)
CMYKcmyk(67.6%, 97.1%, 0%, 86.7%)
CIE-LABlab(1.88, 9.81, -17.43)
CIE-LCHlch(1.88, 20.01, 299.37°)
OKLaboklab(13.68% 0.0267 -0.0653)
OKLCHoklch(13.68% 0.071 292.2)
XYZxyz(0.4375, 0.2083, 1.5302)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0122 #182201
analogous
#010822 #0B0122 #1C0122
triadic
#0B0122 #220B01 #01220B
tetradic
#0B0122 #220108 #182201 #01221C
square
#0B0122 #220108 #182201 #01221C
split-complementary
#0B0122 #221C01 #082201
monochromatic
#0A011E #0A011E #0B0122 #1E035D #310499

Accessibility & contrast

On white

20.16
#0B0122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0B0122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0122
20.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0122#FFFFFF#000000##FFFFFF
##0B01221.0020.161.0420.16
#FFFFFF20.161.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000723
Deuteranopia (green-blind)
#000621
Tritanopia (blue-blind)
#040810
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0b0122;
/* rgb */ color: rgb(11, 1, 34);
/* oklch */ color: oklch(13.7% 0.071 292.2);
Tailwind
colors: {
  custom: {
    50: '#4b475d',
    500: '#0b0122',
    950: '#000000',
  },
}
SCSS
$custom: #0b0122;
$custom-light: #4b475d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0122",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 258.182,
    "s": 94.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.13675,
    "c": 0.07055,
    "h": 292.2
  },
  "luminance": 0.00208
}

Semantic roles & 50–950 ramp

primary
#0B0122
secondary
#506916
accent
#FF29BE
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0B0122

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

Preview Lab → · Contrast checker → · Palette generator →

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