#0B0124#0B0124

#0B0124 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.9% C 0.073 H 290.5°. Best body text is #FFFFFF at 20.11:1 contrast (WCAG AA passes).

Color values

HEX#0B0124
RGBrgb(11, 1, 36)
HSLhsl(257, 95%, 7%)
HSVhsv(257, 97%, 14%)
CMYKcmyk(69.4%, 97.2%, 0%, 85.9%)
CIE-LABlab(1.99, 10.56, -18.84)
CIE-LCHlch(1.99, 21.60, 299.28°)
OKLaboklab(13.94% 0.0256 -0.0685)
OKLCHoklch(13.94% 0.073 290.5)
XYZxyz(0.4672, 0.2202, 1.6866)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0124 #1A2401
analogous
#010824 #0B0124 #1D0124
triadic
#0B0124 #240B01 #01240B
tetradic
#0B0124 #240108 #1A2401 #01241D
square
#0B0124 #240108 #1A2401 #01241D
split-complementary
#0B0124 #241D01 #082401
monochromatic
#09011E #09011E #0B0124 #1D0360 #2F049B

Accessibility & contrast

On white

20.11
#0B0124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0124
20.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0124#FFFFFF#000000##FFFFFF
##0B01241.0020.111.0420.11
#FFFFFF20.111.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b0124;
/* rgb */ color: rgb(11, 1, 36);
/* oklch */ color: oklch(13.9% 0.073 290.5);
Tailwind
colors: {
  custom: {
    50: '#4b475e',
    500: '#0b0124',
    950: '#000000',
  },
}
SCSS
$custom: #0b0124;
$custom-light: #4b475e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0124",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 257.143,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.13945,
    "c": 0.07318,
    "h": 290.5
  },
  "luminance": 0.0022
}

Semantic roles & 50–950 ramp

primary
#0B0124
secondary
#536B16
accent
#FF29C2
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0B0124

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

Preview Lab → · Contrast checker → · Palette generator →

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