#0B032D#0B032D

#0B032D is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.8% C 0.081 H 282.8°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#0B032D
RGBrgb(11, 3, 45)
HSLhsl(251, 88%, 9%)
HSVhsv(251, 93%, 18%)
CMYKcmyk(75.6%, 93.3%, 0%, 82.4%)
CIE-LABlab(2.94, 13.70, -24.27)
CIE-LCHlch(2.94, 27.87, 299.45°)
OKLaboklab(15.75% 0.0179 -0.0787)
OKLCHoklch(15.75% 0.081 282.8)
XYZxyz(0.6441, 0.3257, 2.5110)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B032D #252D03
analogous
#03102D #0B032D #20032D
triadic
#0B032D #2D0B03 #032D0B
tetradic
#0B032D #2D0310 #252D03 #032D20
square
#0B032D #2D0310 #252D03 #032D20
split-complementary
#0B032D #2D2003 #102D03
monochromatic
#07021D #07021D #0B032D #190766 #270BA0

Accessibility & contrast

On white

19.71
#0B032D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B032D
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B032D#FFFFFF#000000##FFFFFF
##0B032D1.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2E
Deuteranopia (green-blind)
#00092C
Tritanopia (blue-blind)
#000E17
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0b032d;
/* rgb */ color: rgb(11, 3, 45);
/* oklch */ color: oklch(15.8% 0.081 282.8);
Tailwind
colors: {
  custom: {
    50: '#4d4866',
    500: '#0b032d',
    950: '#000000',
  },
}
SCSS
$custom: #0b032d;
$custom-light: #4d4866;
$custom-dark: #000000;
JSON
{
  "hex": "#0b032d",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 45
  },
  "hsl": {
    "h": 251.429,
    "s": 87.5,
    "l": 9.412
  },
  "oklch": {
    "l": 0.15753,
    "c": 0.0807,
    "h": 282.8
  },
  "luminance": 0.00326
}

Semantic roles & 50–950 ramp

primary
#0B032D
secondary
#60711B
accent
#FE2AD5
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010006
muted
#77777A

Preview Lab

Preview with #0B032D

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

Preview Lab → · Contrast checker → · Palette generator →

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