#0B032C#0B032C

#0B032C is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.6% C 0.079 H 283.3°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#0B032C
RGBrgb(11, 3, 44)
HSLhsl(252, 87%, 9%)
HSVhsv(252, 93%, 17%)
CMYKcmyk(75%, 93.2%, 0%, 82.7%)
CIE-LABlab(2.87, 13.22, -23.62)
CIE-LCHlch(2.87, 27.07, 299.24°)
OKLaboklab(15.62% 0.0183 -0.0771)
OKLCHoklch(15.62% 0.079 283.3)
XYZxyz(0.6251, 0.3181, 2.4108)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B032C #242C03
analogous
#03102C #0B032C #20032C
triadic
#0B032C #2C0B03 #032C0B
tetradic
#0B032C #2C0310 #242C03 #032C20
square
#0B032C #2C0310 #242C03 #032C20
split-complementary
#0B032C #2C2003 #102C03
monochromatic
#07021D #07021D #0B032C #190765 #280B9F

Accessibility & contrast

On white

19.74
#0B032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B032C
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B032C#FFFFFF#000000##FFFFFF
##0B032C1.0019.741.0619.74
#FFFFFF19.741.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2D
Deuteranopia (green-blind)
#00092B
Tritanopia (blue-blind)
#000E17
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0b032c;
/* rgb */ color: rgb(11, 3, 44);
/* oklch */ color: oklch(15.6% 0.079 283.3);
Tailwind
colors: {
  custom: {
    50: '#4d4865',
    500: '#0b032c',
    950: '#000000',
  },
}
SCSS
$custom: #0b032c;
$custom-light: #4d4865;
$custom-dark: #000000;
JSON
{
  "hex": "#0b032c",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 251.707,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.15619,
    "c": 0.07927,
    "h": 283.3
  },
  "luminance": 0.00318
}

Semantic roles & 50–950 ramp

primary
#0B032C
secondary
#5F701B
accent
#FD2AD4
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#010005
muted
#77777A

Preview Lab

Preview with #0B032C

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

Preview Lab → · Contrast checker → · Palette generator →

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