#0B0127#0B0127

#0B0127 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.4% C 0.077 H 288.1°. Best body text is #FFFFFF at 20.04:1 contrast (WCAG AA passes).

Color values

HEX#0B0127
RGBrgb(11, 1, 39)
HSLhsl(256, 95%, 8%)
HSVhsv(256, 97%, 15%)
CMYKcmyk(71.8%, 97.4%, 0%, 84.7%)
CIE-LABlab(2.16, 11.78, -20.91)
CIE-LCHlch(2.16, 24.00, 299.40°)
OKLaboklab(14.36% 0.024 -0.0733)
OKLCHoklch(14.36% 0.077 288.1)
XYZxyz(0.5150, 0.2393, 1.9381)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0127 #1D2701
analogous
#010A27 #0B0127 #1E0127
triadic
#0B0127 #270B01 #01270B
tetradic
#0B0127 #27010A #1D2701 #01271E
square
#0B0127 #27010A #1D2701 #01271E
split-complementary
#0B0127 #271E01 #0A2701
monochromatic
#08011E #08011E #0B0127 #1C0363 #2D049E

Accessibility & contrast

On white

20.04
#0B0127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0B0127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0127
20.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0127#FFFFFF#000000##FFFFFF
##0B01271.0020.041.0520.04
#FFFFFF20.041.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000928
Deuteranopia (green-blind)
#000726
Tritanopia (blue-blind)
#020A13
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0b0127;
/* rgb */ color: rgb(11, 1, 39);
/* oklch */ color: oklch(14.4% 0.077 288.1);
Tailwind
colors: {
  custom: {
    50: '#4c4761',
    500: '#0b0127',
    950: '#000000',
  },
}
SCSS
$custom: #0b0127;
$custom-light: #4c4761;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0127",
  "rgb": {
    "r": 11,
    "g": 1,
    "b": 39
  },
  "hsl": {
    "h": 255.789,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.14358,
    "c": 0.07713,
    "h": 288.1
  },
  "luminance": 0.00239
}

Semantic roles & 50–950 ramp

primary
#0B0127
secondary
#576E16
accent
#FF29C7
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010005
muted
#777779

Preview Lab

Preview with #0B0127

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

Preview Lab → · Contrast checker → · Palette generator →

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