#0B0126#0B0126

#0B0126 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.2% C 0.076 H 288.9°. Best body text is #FFFFFF at 20.06:1 contrast (WCAG AA passes).

Color values

HEX#0B0126
RGBrgb(11, 1, 38)
HSLhsl(256, 95%, 8%)
HSVhsv(256, 97%, 15%)
CMYKcmyk(71.1%, 97.4%, 0%, 85.1%)
CIE-LABlab(2.10, 11.36, -20.22)
CIE-LCHlch(2.10, 23.20, 299.33°)
OKLaboklab(14.22% 0.0245 -0.0717)
OKLCHoklch(14.22% 0.076 288.9)
XYZxyz(0.4986, 0.2328, 1.8520)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0126 #1C2601
analogous
#010A26 #0B0126 #1D0126
triadic
#0B0126 #260B01 #01260B
tetradic
#0B0126 #26010A #1C2601 #01261D
square
#0B0126 #26010A #1C2601 #01261D
split-complementary
#0B0126 #261D01 #0A2601
monochromatic
#09011E #09011E #0B0126 #1C0362 #2E049D

Accessibility & contrast

On white

20.06
#0B0126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0B0126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0126
20.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0126#FFFFFF#000000##FFFFFF
##0B01261.0020.061.0520.06
#FFFFFF20.061.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000827
Deuteranopia (green-blind)
#000725
Tritanopia (blue-blind)
#020912
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0b0126;
/* rgb */ color: rgb(11, 1, 38);
/* oklch */ color: oklch(14.2% 0.076 288.9);
Tailwind
colors: {
  custom: {
    50: '#4b4760',
    500: '#0b0126',
    950: '#000000',
  },
}
SCSS
$custom: #0b0126;
$custom-light: #4b4760;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0126",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 256.216,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.14219,
    "c": 0.07582,
    "h": 288.9
  },
  "luminance": 0.00233
}

Semantic roles & 50–950 ramp

primary
#0B0126
secondary
#556D16
accent
#FF29C5
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010005
muted
#777779

Preview Lab

Preview with #0B0126

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

Preview Lab → · Contrast checker → · Palette generator →

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