#0B0225#0B0225

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

Color values

HEX#0B0225
RGBrgb(11, 2, 37)
HSLhsl(255, 90%, 8%)
HSVhsv(255, 95%, 15%)
CMYKcmyk(70.3%, 94.6%, 0%, 85.5%)
CIE-LABlab(2.24, 10.56, -19.23)
CIE-LCHlch(2.24, 21.94, 298.77°)
OKLaboklab(14.41% 0.023 -0.0679)
OKLCHoklch(14.41% 0.072 288.7)
XYZxyz(0.4936, 0.2481, 1.7718)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0225 #1C2502
analogous
#020A25 #0B0225 #1D0225
triadic
#0B0225 #250B02 #02250B
tetradic
#0B0225 #25020A #1C2502 #02251D
square
#0B0225 #25020A #1C2502 #02251D
split-complementary
#0B0225 #251D02 #0A2502
monochromatic
#09021D #09021D #0B0225 #1C055F #2E0899

Accessibility & contrast

On white

20.01
#0B0225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0225
20.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0225#FFFFFF#000000##FFFFFF
##0B02251.0020.011.0520.01
#FFFFFF20.011.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000926
Deuteranopia (green-blind)
#000724
Tritanopia (blue-blind)
#030A12
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0b0225;
/* rgb */ color: rgb(11, 2, 37);
/* oklch */ color: oklch(14.4% 0.072 288.7);
Tailwind
colors: {
  custom: {
    50: '#4b475f',
    500: '#0b0225',
    950: '#000000',
  },
}
SCSS
$custom: #0b0225;
$custom-light: #4b475f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0225",
  "rgb": {
    "r": 11,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 255.429,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.14405,
    "c": 0.07172,
    "h": 288.7
  },
  "luminance": 0.00248
}

Semantic roles & 50–950 ramp

primary
#0B0225
secondary
#556A18
accent
#FF29C8
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #0B0225

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

Preview Lab → · Contrast checker → · Palette generator →

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