#0B0232#0B0232

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

Color values

HEX#0B0232
RGBrgb(11, 2, 50)
HSLhsl(251, 92%, 10%)
HSVhsv(251, 96%, 20%)
CMYKcmyk(78%, 96%, 0%, 80.4%)
CIE-LABlab(3.11, 16.70, -27.75)
CIE-LCHlch(3.11, 32.39, 301.03°)
OKLaboklab(16.18% 0.0169 -0.088)
OKLCHoklch(16.18% 0.09 280.9)
XYZxyz(0.7353, 0.3448, 3.0448)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0232 #293202
analogous
#021132 #0B0232 #230232
triadic
#0B0232 #320B02 #02320B
tetradic
#0B0232 #320211 #293202 #023223
square
#0B0232 #320211 #293202 #023223
split-complementary
#0B0232 #322302 #113202
monochromatic
#06011D #06011D #0B0232 #18046D #2507A8

Accessibility & contrast

On white

19.64
#0B0232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0232
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0232#FFFFFF#000000##FFFFFF
##0B02321.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D33
Deuteranopia (green-blind)
#000931
Tritanopia (blue-blind)
#00101A
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0b0232;
/* rgb */ color: rgb(11, 2, 50);
/* oklch */ color: oklch(16.2% 0.090 280.9);
Tailwind
colors: {
  custom: {
    50: '#4e476a',
    500: '#0b0232',
    950: '#000000',
  },
}
SCSS
$custom: #0b0232;
$custom-light: #4e476a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0232",
  "rgb": {
    "r": 11,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 251.25,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.16185,
    "c": 0.08959,
    "h": 280.9
  },
  "luminance": 0.00345
}

Semantic roles & 50–950 ramp

primary
#0B0232
secondary
#657619
accent
#FF29D7
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B0232

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

Preview Lab → · Contrast checker → · Palette generator →

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