#0B0332#0B0332

#0B0332 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.088 H 280.4°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#0B0332
RGBrgb(11, 3, 50)
HSLhsl(250, 89%, 10%)
HSVhsv(250, 94%, 20%)
CMYKcmyk(78%, 94%, 0%, 80.4%)
CIE-LABlab(3.31, 16.29, -27.44)
CIE-LCHlch(3.31, 31.91, 300.71°)
OKLaboklab(16.43% 0.0158 -0.0863)
OKLCHoklch(16.43% 0.088 280.4)
XYZxyz(0.7461, 0.3665, 3.0484)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0332 #2A3203
analogous
#031232 #0B0332 #220332
triadic
#0B0332 #320B03 #03320B
tetradic
#0B0332 #320312 #2A3203 #033222
square
#0B0332 #320312 #2A3203 #033222
split-complementary
#0B0332 #322203 #123203
monochromatic
#06021D #06021D #0B0332 #18066C #240AA5

Accessibility & contrast

On white

19.56
#0B0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0332
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0332#FFFFFF#000000##FFFFFF
##0B03321.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E33
Deuteranopia (green-blind)
#000A31
Tritanopia (blue-blind)
#00101A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0b0332;
/* rgb */ color: rgb(11, 3, 50);
/* oklch */ color: oklch(16.4% 0.088 280.4);
Tailwind
colors: {
  custom: {
    50: '#4e476a',
    500: '#0b0332',
    950: '#000000',
  },
}
SCSS
$custom: #0b0332;
$custom-light: #4e476a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0332",
  "rgb": {
    "r": 11,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 250.213,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16431,
    "c": 0.08773,
    "h": 280.4
  },
  "luminance": 0.00367
}

Semantic roles & 50–950 ramp

primary
#0B0332
secondary
#66751B
accent
#FF29DA
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B0332

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

Preview Lab → · Contrast checker → · Palette generator →

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