#0B032F#0B032F

#0B032F is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.0% C 0.084 H 281.8°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#0B032F
RGBrgb(11, 3, 47)
HSLhsl(251, 88%, 10%)
HSVhsv(251, 94%, 18%)
CMYKcmyk(76.6%, 93.6%, 0%, 81.6%)
CIE-LABlab(3.08, 14.70, -25.55)
CIE-LCHlch(3.08, 29.48, 299.92°)
OKLaboklab(16.02% 0.0171 -0.0818)
OKLCHoklch(16.02% 0.084 281.8)
XYZxyz(0.6835, 0.3415, 2.7187)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B032F #272F03
analogous
#03112F #0B032F #21032F
triadic
#0B032F #2F0B03 #032F0B
tetradic
#0B032F #2F0311 #272F03 #032F21
square
#0B032F #2F0311 #272F03 #032F21
split-complementary
#0B032F #2F2103 #112F03
monochromatic
#07021D #07021D #0B032F #180769 #260AA2

Accessibility & contrast

On white

19.66
#0B032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B032F
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B032F#FFFFFF#000000##FFFFFF
##0B032F1.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0b032f;
/* rgb */ color: rgb(11, 3, 47);
/* oklch */ color: oklch(16.0% 0.084 281.8);
Tailwind
colors: {
  custom: {
    50: '#4d4768',
    500: '#0b032f',
    950: '#000000',
  },
}
SCSS
$custom: #0b032f;
$custom-light: #4d4768;
$custom-dark: #000000;
JSON
{
  "hex": "#0b032f",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 250.909,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16022,
    "c": 0.08352,
    "h": 281.8
  },
  "luminance": 0.00342
}

Semantic roles & 50–950 ramp

primary
#0B032F
secondary
#63731B
accent
#FE2AD8
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B032F

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

Preview Lab → · Contrast checker → · Palette generator →

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