#0B0131#0B0131

#0B0131 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.8% C 0.090 H 281.9°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#0B0131
RGBrgb(11, 1, 49)
HSLhsl(253, 96%, 10%)
HSVhsv(253, 98%, 19%)
CMYKcmyk(77.6%, 98%, 0%, 80.8%)
CIE-LABlab(2.84, 16.55, -27.44)
CIE-LCHlch(2.84, 32.05, 301.10°)
OKLaboklab(15.78% 0.0186 -0.0883)
OKLCHoklch(15.78% 0.09 281.9)
XYZxyz(0.7031, 0.3146, 2.9288)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0131 #273101
analogous
#010F31 #0B0131 #230131
triadic
#0B0131 #310B01 #01310B
tetradic
#0B0131 #31010F #273101 #013123
square
#0B0131 #31010F #273101 #013123
split-complementary
#0B0131 #312301 #0F3101
monochromatic
#07011E #07011E #0B0131 #18026D #2603A9

Accessibility & contrast

On white

19.76
#0B0131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0131
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0131#FFFFFF#000000##FFFFFF
##0B01311.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C32
Deuteranopia (green-blind)
#000930
Tritanopia (blue-blind)
#000E19
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0b0131;
/* rgb */ color: rgb(11, 1, 49);
/* oklch */ color: oklch(15.8% 0.090 281.9);
Tailwind
colors: {
  custom: {
    50: '#4e4669',
    500: '#0b0131',
    950: '#000000',
  },
}
SCSS
$custom: #0b0131;
$custom-light: #4e4669;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0131",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 252.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15785,
    "c": 0.09022,
    "h": 281.9
  },
  "luminance": 0.00315
}

Semantic roles & 50–950 ramp

primary
#0B0131
secondary
#637717
accent
#FF29D2
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B0131

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

Preview Lab → · Contrast checker → · Palette generator →

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