#0B0328#0B0328

#0B0328 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.1% C 0.073 H 285.7°. Best body text is #FFFFFF at 19.85:1 contrast (WCAG AA passes).

Color values

HEX#0B0328
RGBrgb(11, 3, 40)
HSLhsl(253, 86%, 8%)
HSVhsv(253, 93%, 16%)
CMYKcmyk(72.5%, 92.5%, 0%, 84.3%)
CIE-LABlab(2.61, 11.41, -20.97)
CIE-LCHlch(2.61, 23.87, 298.54°)
OKLaboklab(15.1% 0.0199 -0.0707)
OKLCHoklch(15.1% 0.074 285.7)
XYZxyz(0.5535, 0.2894, 2.0338)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0328 #202803
analogous
#030D28 #0B0328 #1D0328
triadic
#0B0328 #280B03 #03280B
tetradic
#0B0328 #28030D #202803 #03281D
square
#0B0328 #28030D #202803 #03281D
split-complementary
#0B0328 #281D03 #0D2803
monochromatic
#08021C #08021C #0B0328 #1B0761 #2A0C9A

Accessibility & contrast

On white

19.85
#0B0328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0328
19.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0328#FFFFFF#000000##FFFFFF
##0B03281.0019.851.0619.85
#FFFFFF19.851.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B29
Deuteranopia (green-blind)
#000827
Tritanopia (blue-blind)
#010C14
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0b0328;
/* rgb */ color: rgb(11, 3, 40);
/* oklch */ color: oklch(15.1% 0.073 285.7);
Tailwind
colors: {
  custom: {
    50: '#4c4862',
    500: '#0b0328',
    950: '#000000',
  },
}
SCSS
$custom: #0b0328;
$custom-light: #4c4862;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0328",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 252.973,
    "s": 86.047,
    "l": 8.431
  },
  "oklch": {
    "l": 0.15096,
    "c": 0.0735,
    "h": 285.7
  },
  "luminance": 0.00289
}

Semantic roles & 50–950 ramp

primary
#0B0328
secondary
#5A6C1B
accent
#FC2CCF
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#010005
muted
#777779

Preview Lab

Preview with #0B0328

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

Preview Lab → · Contrast checker → · Palette generator →

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