#0B0024#0B0024

#0B0024 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.6% C 0.076 H 291.5°. Best body text is #FFFFFF at 20.20:1 contrast (WCAG AA passes).

Color values

HEX#0B0024
RGBrgb(11, 0, 36)
HSLhsl(258, 100%, 7%)
HSVhsv(258, 100%, 14%)
CMYKcmyk(69.4%, 100%, 0%, 85.9%)
CIE-LABlab(1.79, 10.97, -19.14)
CIE-LCHlch(1.79, 22.06, 299.81°)
OKLaboklab(13.6% 0.0279 -0.0709)
OKLCHoklch(13.6% 0.076 291.5)
XYZxyz(0.4564, 0.1985, 1.6830)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0024 #192400
analogous
#000724 #0B0024 #1D0024
triadic
#0B0024 #240B00 #00240B
tetradic
#0B0024 #240007 #192400 #00241D
square
#0B0024 #240007 #192400 #00241D
split-complementary
#0B0024 #241D00 #072400
monochromatic
#09001F #09001F #0B0024 #1E0061 #30009E

Accessibility & contrast

On white

20.20
#0B0024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0024
20.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0024#FFFFFF#000000##FFFFFF
##0B00241.0020.201.0420.20
#FFFFFF20.201.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000725
Deuteranopia (green-blind)
#000623
Tritanopia (blue-blind)
#030810
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0b0024;
/* rgb */ color: rgb(11, 0, 36);
/* oklch */ color: oklch(13.6% 0.076 291.5);
Tailwind
colors: {
  custom: {
    50: '#4b465e',
    500: '#0b0024',
    950: '#000000',
  },
}
SCSS
$custom: #0b0024;
$custom-light: #4b465e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0024",
  "rgb": {
    "r": 11,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 258.333,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.13599,
    "c": 0.07625,
    "h": 291.5
  },
  "luminance": 0.00199
}

Semantic roles & 50–950 ramp

primary
#0B0024
secondary
#516D13
accent
#FF29BE
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0B0024

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

Preview Lab → · Contrast checker → · Palette generator →

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