#0B0333#0B0333

#0B0333 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.089 H 279.9°. Best body text is #FFFFFF at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#0B0333
RGBrgb(11, 3, 51)
HSLhsl(250, 89%, 11%)
HSVhsv(250, 94%, 20%)
CMYKcmyk(78.4%, 94.1%, 0%, 80%)
CIE-LABlab(3.39, 16.85, -28.05)
CIE-LCHlch(3.39, 32.72, 300.99°)
OKLaboklab(16.57% 0.0154 -0.0878)
OKLCHoklch(16.57% 0.089 279.9)
XYZxyz(0.7679, 0.3752, 3.1633)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0333 #2B3303
analogous
#031333 #0B0333 #230333
triadic
#0B0333 #330B03 #03330B
tetradic
#0B0333 #330313 #2B3303 #033323
square
#0B0333 #330313 #2B3303 #033323
split-complementary
#0B0333 #332303 #133303
monochromatic
#06021D #06021D #0B0333 #17066D #240AA7

Accessibility & contrast

On white

19.53
#0B0333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0B0333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0333
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0333#FFFFFF#000000##FFFFFF
##0B03331.0019.531.0819.53
#FFFFFF19.531.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E34
Deuteranopia (green-blind)
#000A32
Tritanopia (blue-blind)
#00111B
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0b0333;
/* rgb */ color: rgb(11, 3, 51);
/* oklch */ color: oklch(16.6% 0.089 279.9);
Tailwind
colors: {
  custom: {
    50: '#4f476b',
    500: '#0b0333',
    950: '#000000',
  },
}
SCSS
$custom: #0b0333;
$custom-light: #4f476b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0333",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 250,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.16569,
    "c": 0.08911,
    "h": 279.9
  },
  "luminance": 0.00375
}

Semantic roles & 50–950 ramp

primary
#0B0333
secondary
#67761C
accent
#FF29DB
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0333

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

Preview Lab → · Contrast checker → · Palette generator →

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