#0B032A#0B032A

#0B032A is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.4% C 0.076 H 284.5°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#0B032A
RGBrgb(11, 3, 42)
HSLhsl(252, 87%, 9%)
HSVhsv(252, 93%, 16%)
CMYKcmyk(73.8%, 92.9%, 0%, 83.5%)
CIE-LABlab(2.74, 12.29, -22.31)
CIE-LCHlch(2.74, 25.47, 298.85°)
OKLaboklab(15.36% 0.0191 -0.074)
OKLCHoklch(15.36% 0.076 284.5)
XYZxyz(0.5884, 0.3034, 2.2176)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B032A #222A03
analogous
#030F2A #0B032A #1F032A
triadic
#0B032A #2A0B03 #032A0B
tetradic
#0B032A #2A030F #222A03 #032A1F
square
#0B032A #2A030F #222A03 #032A1F
split-complementary
#0B032A #2A1F03 #0F2A03
monochromatic
#07021D #07021D #0B032A #1A0763 #290B9C

Accessibility & contrast

On white

19.80
#0B032A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B032A
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B032A#FFFFFF#000000##FFFFFF
##0B032A1.0019.801.0619.80
#FFFFFF19.801.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2B
Deuteranopia (green-blind)
#000929
Tritanopia (blue-blind)
#000D15
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0b032a;
/* rgb */ color: rgb(11, 3, 42);
/* oklch */ color: oklch(15.4% 0.076 284.5);
Tailwind
colors: {
  custom: {
    50: '#4c4864',
    500: '#0b032a',
    950: '#000000',
  },
}
SCSS
$custom: #0b032a;
$custom-light: #4c4864;
$custom-dark: #000000;
JSON
{
  "hex": "#0b032a",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 252.308,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.15356,
    "c": 0.0764,
    "h": 284.5
  },
  "luminance": 0.00303
}

Semantic roles & 50–950 ramp

primary
#0B032A
secondary
#5D6E1B
accent
#FD2BD2
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0B032A

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

Preview Lab → · Contrast checker → · Palette generator →

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