#0B0135#0B0135

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

Color values

HEX#0B0135
RGBrgb(11, 1, 53)
HSLhsl(252, 96%, 11%)
HSVhsv(252, 98%, 21%)
CMYKcmyk(79.2%, 98.1%, 0%, 79.2%)
CIE-LABlab(3.16, 18.80, -29.90)
CIE-LCHlch(3.16, 35.32, 302.15°)
OKLaboklab(16.37% 0.0165 -0.094)
OKLCHoklch(16.37% 0.095 280)
XYZxyz(0.7913, 0.3498, 3.3933)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0135 #2B3501
analogous
#011135 #0B0135 #250135
triadic
#0B0135 #350B01 #01350B
tetradic
#0B0135 #350111 #2B3501 #013525
square
#0B0135 #350111 #2B3501 #013525
split-complementary
#0B0135 #352501 #113501
monochromatic
#06011E #06011E #0B0135 #170271 #2403AD

Accessibility & contrast

On white

19.63
#0B0135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0135
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0135#FFFFFF#000000##FFFFFF
##0B01351.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D36
Deuteranopia (green-blind)
#000934
Tritanopia (blue-blind)
#00101B
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0b0135;
/* rgb */ color: rgb(11, 1, 53);
/* oklch */ color: oklch(16.4% 0.095 280.0);
Tailwind
colors: {
  custom: {
    50: '#4f466d',
    500: '#0b0135',
    950: '#000000',
  },
}
SCSS
$custom: #0b0135;
$custom-light: #4f466d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0135",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 53
  },
  "hsl": {
    "h": 251.538,
    "s": 96.296,
    "l": 10.588
  },
  "oklch": {
    "l": 0.16371,
    "c": 0.09541,
    "h": 280
  },
  "luminance": 0.0035
}

Semantic roles & 50–950 ramp

primary
#0B0135
secondary
#677A18
accent
#FF29D6
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0135

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

Preview Lab → · Contrast checker → · Palette generator →

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