#0B0023#0B0023

#0B0023 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.5% C 0.075 H 292.4°. Best body text is #FFFFFF at 20.22:1 contrast (WCAG AA passes).

Color values

HEX#0B0023
RGBrgb(11, 0, 35)
HSLhsl(259, 100%, 7%)
HSVhsv(259, 100%, 14%)
CMYKcmyk(68.6%, 100%, 0%, 86.3%)
CIE-LABlab(1.74, 10.58, -18.44)
CIE-LCHlch(1.74, 21.26, 299.85°)
OKLaboklab(13.46% 0.0286 -0.0694)
OKLCHoklch(13.46% 0.075 292.4)
XYZxyz(0.4413, 0.1925, 1.6037)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0023 #182300
analogous
#000723 #0B0023 #1D0023
triadic
#0B0023 #230B00 #00230B
tetradic
#0B0023 #230007 #182300 #00231D
square
#0B0023 #230007 #182300 #00231D
split-complementary
#0B0023 #231D00 #072300
monochromatic
#0A001F #0A001F #0B0023 #1E0060 #31009D

Accessibility & contrast

On white

20.22
#0B0023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0B0023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B0023
20.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0023#FFFFFF#000000##FFFFFF
##0B00231.0020.221.0420.22
#FFFFFF20.221.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000724
Deuteranopia (green-blind)
#000622
Tritanopia (blue-blind)
#040710
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #0b0023;
/* rgb */ color: rgb(11, 0, 35);
/* oklch */ color: oklch(13.5% 0.075 292.4);
Tailwind
colors: {
  custom: {
    50: '#4b465e',
    500: '#0b0023',
    950: '#000000',
  },
}
SCSS
$custom: #0b0023;
$custom-light: #4b465e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0023",
  "rgb": {
    "r": 11,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 258.857,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.13457,
    "c": 0.07504,
    "h": 292.4
  },
  "luminance": 0.00192
}

Semantic roles & 50–950 ramp

primary
#0B0023
secondary
#506C13
accent
#FF29BC
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0B0023

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

Preview Lab → · Contrast checker → · Palette generator →

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