#0B031D#0B031D

#0B031D is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.8% C 0.057 H 294.5°. Best body text is #FFFFFF at 20.10:1 contrast (WCAG AA passes).

Color values

HEX#0B031D
RGBrgb(11, 3, 29)
HSLhsl(258, 81%, 6%)
HSVhsv(258, 90%, 11%)
CMYKcmyk(62.1%, 89.7%, 0%, 88.6%)
CIE-LABlab(2.03, 7.31, -13.23)
CIE-LCHlch(2.03, 15.12, 298.92°)
OKLaboklab(13.75% 0.0237 -0.0519)
OKLCHoklch(13.75% 0.057 294.5)
XYZxyz(0.3923, 0.2250, 1.1849)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B031D #151D03
analogous
#03081D #0B031D #18031D
triadic
#0B031D #1D0B03 #031D0B
tetradic
#0B031D #1D0308 #151D03 #031D18
square
#0B031D #1D0308 #151D03 #031D18
split-complementary
#0B031D #1D1803 #081D03
monochromatic
#0B031C #0B031C #0B031D #200954 #350E8C

Accessibility & contrast

On white

20.10
#0B031D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B031D
20.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B031D#FFFFFF#000000##FFFFFF
##0B031D1.0020.101.0520.10
#FFFFFF20.101.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00081E
Deuteranopia (green-blind)
#00071C
Tritanopia (blue-blind)
#06080E
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0b031d;
/* rgb */ color: rgb(11, 3, 29);
/* oklch */ color: oklch(13.8% 0.057 294.5);
Tailwind
colors: {
  custom: {
    50: '#4b4858',
    500: '#0b031d',
    950: '#000000',
  },
}
SCSS
$custom: #0b031d;
$custom-light: #4b4858;
$custom-dark: #000000;
JSON
{
  "hex": "#0b031d",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 29
  },
  "hsl": {
    "h": 258.462,
    "s": 81.25,
    "l": 6.275
  },
  "oklch": {
    "l": 0.13754,
    "c": 0.057,
    "h": 294.5
  },
  "luminance": 0.00225
}

Semantic roles & 50–950 ramp

primary
#0B031D
secondary
#4B611B
accent
#F830BA
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #0B031D

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

Preview Lab → · Contrast checker → · Palette generator →

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