#0B012F#0B012F

#0B012F is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.5% C 0.088 H 283.0°. Best body text is #FFFFFF at 19.82:1 contrast (WCAG AA passes).

Color values

HEX#0B012F
RGBrgb(11, 1, 47)
HSLhsl(253, 96%, 9%)
HSVhsv(253, 98%, 18%)
CMYKcmyk(76.6%, 97.9%, 0%, 81.6%)
CIE-LABlab(2.69, 15.51, -26.18)
CIE-LCHlch(2.69, 30.43, 300.64°)
OKLaboklab(15.49% 0.0196 -0.0854)
OKLCHoklch(15.49% 0.088 283)
XYZxyz(0.6618, 0.2980, 2.7114)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B012F #252F01
analogous
#010E2F #0B012F #22012F
triadic
#0B012F #2F0B01 #012F0B
tetradic
#0B012F #2F010E #252F01 #012F22
square
#0B012F #2F010E #252F01 #012F22
split-complementary
#0B012F #2F2201 #0E2F01
monochromatic
#07011E #07011E #0B012F #19026B #2704A7

Accessibility & contrast

On white

19.82
#0B012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0B012F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B012F
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B012F#FFFFFF#000000##FFFFFF
##0B012F1.0019.821.0619.82
#FFFFFF19.821.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B30
Deuteranopia (green-blind)
#00082E
Tritanopia (blue-blind)
#000E18
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0b012f;
/* rgb */ color: rgb(11, 1, 47);
/* oklch */ color: oklch(15.5% 0.088 283.0);
Tailwind
colors: {
  custom: {
    50: '#4d4768',
    500: '#0b012f',
    950: '#000000',
  },
}
SCSS
$custom: #0b012f;
$custom-light: #4d4768;
$custom-dark: #000000;
JSON
{
  "hex": "#0b012f",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 253.043,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15494,
    "c": 0.08762,
    "h": 283
  },
  "luminance": 0.00298
}

Semantic roles & 50–950 ramp

primary
#0B012F
secondary
#607517
accent
#FF29D0
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B012F

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

Preview Lab → · Contrast checker → · Palette generator →

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