#0B0136#0B0136

#0B0136 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.097 H 279.5°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#0B0136
RGBrgb(11, 1, 54)
HSLhsl(251, 96%, 11%)
HSVhsv(251, 98%, 21%)
CMYKcmyk(79.6%, 98.1%, 0%, 78.8%)
CIE-LABlab(3.24, 19.38, -30.51)
CIE-LCHlch(3.24, 36.14, 302.43°)
OKLaboklab(16.52% 0.016 -0.0954)
OKLCHoklch(16.52% 0.097 279.5)
XYZxyz(0.8145, 0.3591, 3.5157)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0136 #2C3601
analogous
#011136 #0B0136 #250136
triadic
#0B0136 #360B01 #01360B
tetradic
#0B0136 #360111 #2C3601 #013625
square
#0B0136 #360111 #2C3601 #013625
split-complementary
#0B0136 #362501 #113601
monochromatic
#06011E #06011E #0B0136 #170272 #2303AE

Accessibility & contrast

On white

19.59
#0B0136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0B0136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0136
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0136#FFFFFF#000000##FFFFFF
##0B01361.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E37
Deuteranopia (green-blind)
#000A35
Tritanopia (blue-blind)
#00111C
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0b0136;
/* rgb */ color: rgb(11, 1, 54);
/* oklch */ color: oklch(16.5% 0.097 279.5);
Tailwind
colors: {
  custom: {
    50: '#50466e',
    500: '#0b0136',
    950: '#000000',
  },
}
SCSS
$custom: #0b0136;
$custom-light: #50466e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0136",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 54
  },
  "hsl": {
    "h": 251.321,
    "s": 96.364,
    "l": 10.784
  },
  "oklch": {
    "l": 0.16519,
    "c": 0.09671,
    "h": 279.5
  },
  "luminance": 0.00359
}

Semantic roles & 50–950 ramp

primary
#0B0136
secondary
#687B18
accent
#FF29D7
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0136

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

Preview Lab → · Contrast checker → · Palette generator →

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