#0B0123#0B0123

#0B0123 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.8% C 0.072 H 291.3°. Best body text is #FFFFFF at 20.14:1 contrast (WCAG AA passes).

Color values

HEX#0B0123
RGBrgb(11, 1, 35)
HSLhsl(258, 94%, 7%)
HSVhsv(258, 97%, 14%)
CMYKcmyk(68.6%, 97.1%, 0%, 86.3%)
CIE-LABlab(1.93, 10.18, -18.14)
CIE-LCHlch(1.93, 20.80, 299.31°)
OKLaboklab(13.81% 0.0262 -0.0669)
OKLCHoklch(13.81% 0.072 291.3)
XYZxyz(0.4522, 0.2142, 1.6073)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0123 #192301
analogous
#010823 #0B0123 #1C0123
triadic
#0B0123 #230B01 #01230B
tetradic
#0B0123 #230108 #192301 #01231C
square
#0B0123 #230108 #192301 #01231C
split-complementary
#0B0123 #231C01 #082301
monochromatic
#09011E #09011E #0B0123 #1E035F #30049A

Accessibility & contrast

On white

20.14
#0B0123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0123
20.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0123#FFFFFF#000000##FFFFFF
##0B01231.0020.141.0420.14
#FFFFFF20.141.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b0123;
/* rgb */ color: rgb(11, 1, 35);
/* oklch */ color: oklch(13.8% 0.072 291.3);
Tailwind
colors: {
  custom: {
    50: '#4b475e',
    500: '#0b0123',
    950: '#000000',
  },
}
SCSS
$custom: #0b0123;
$custom-light: #4b475e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0123",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 257.647,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.13809,
    "c": 0.07186,
    "h": 291.3
  },
  "luminance": 0.00214
}

Semantic roles & 50–950 ramp

primary
#0B0123
secondary
#516A16
accent
#FF29C0
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0B0123

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

Preview Lab → · Contrast checker → · Palette generator →

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