#0B0132#0B0132

#0B0132 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.9% C 0.092 H 281.4°. Best body text is #FFFFFF at 19.73:1 contrast (WCAG AA passes).

Color values

HEX#0B0132
RGBrgb(11, 1, 50)
HSLhsl(252, 96%, 10%)
HSVhsv(252, 98%, 20%)
CMYKcmyk(78%, 98%, 0%, 80.4%)
CIE-LABlab(2.92, 17.09, -28.06)
CIE-LCHlch(2.92, 32.86, 301.35°)
OKLaboklab(15.93% 0.0181 -0.0897)
OKLCHoklch(15.93% 0.092 281.4)
XYZxyz(0.7244, 0.3231, 3.0412)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0132 #283201
analogous
#010F32 #0B0132 #240132
triadic
#0B0132 #320B01 #01320B
tetradic
#0B0132 #32010F #283201 #013224
square
#0B0132 #32010F #283201 #013224
split-complementary
#0B0132 #322401 #0F3201
monochromatic
#07011E #07011E #0B0132 #18026E #2503AA

Accessibility & contrast

On white

19.73
#0B0132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0132
19.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0132#FFFFFF#000000##FFFFFF
##0B01321.0019.731.0619.73
#FFFFFF19.731.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C33
Deuteranopia (green-blind)
#000931
Tritanopia (blue-blind)
#000F19
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0b0132;
/* rgb */ color: rgb(11, 1, 50);
/* oklch */ color: oklch(15.9% 0.092 281.4);
Tailwind
colors: {
  custom: {
    50: '#4e466a',
    500: '#0b0132',
    950: '#000000',
  },
}
SCSS
$custom: #0b0132;
$custom-light: #4e466a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0132",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 50
  },
  "hsl": {
    "h": 252.245,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.15931,
    "c": 0.09153,
    "h": 281.4
  },
  "luminance": 0.00323
}

Semantic roles & 50–950 ramp

primary
#0B0132
secondary
#647717
accent
#FF29D3
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B0132

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

Preview Lab → · Contrast checker → · Palette generator →

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