#0B0134#0B0134

#0B0134 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.2% C 0.094 H 280.4°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#0B0134
RGBrgb(11, 1, 52)
HSLhsl(252, 96%, 10%)
HSVhsv(252, 98%, 20%)
CMYKcmyk(78.8%, 98.1%, 0%, 79.6%)
CIE-LABlab(3.08, 18.22, -29.30)
CIE-LCHlch(3.08, 34.50, 301.87°)
OKLaboklab(16.22% 0.017 -0.0926)
OKLCHoklch(16.22% 0.094 280.4)
XYZxyz(0.7685, 0.3407, 3.2734)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0134 #2A3401
analogous
#011034 #0B0134 #240134
triadic
#0B0134 #340B01 #01340B
tetradic
#0B0134 #340110 #2A3401 #013424
square
#0B0134 #340110 #2A3401 #013424
split-complementary
#0B0134 #342401 #103401
monochromatic
#06011E #06011E #0B0134 #180270 #2403AC

Accessibility & contrast

On white

19.66
#0B0134 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0134
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0134#FFFFFF#000000##FFFFFF
##0B01341.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b0134;
/* rgb */ color: rgb(11, 1, 52);
/* oklch */ color: oklch(16.2% 0.094 280.4);
Tailwind
colors: {
  custom: {
    50: '#4f466c',
    500: '#0b0134',
    950: '#000000',
  },
}
SCSS
$custom: #0b0134;
$custom-light: #4f466c;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0134",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 52
  },
  "hsl": {
    "h": 251.765,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16224,
    "c": 0.09411,
    "h": 280.4
  },
  "luminance": 0.00341
}

Semantic roles & 50–950 ramp

primary
#0B0134
secondary
#667918
accent
#FF29D5
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0134

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

Preview Lab → · Contrast checker → · Palette generator →

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