#0B0233#0B0233

#0B0233 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.3% C 0.091 H 280.4°. Best body text is #FFFFFF at 19.61:1 contrast (WCAG AA passes).

Color values

HEX#0B0233
RGBrgb(11, 2, 51)
HSLhsl(251, 92%, 10%)
HSVhsv(251, 96%, 20%)
CMYKcmyk(78.4%, 96.1%, 0%, 80%)
CIE-LABlab(3.19, 17.25, -28.37)
CIE-LCHlch(3.19, 33.20, 301.30°)
OKLaboklab(16.33% 0.0165 -0.0894)
OKLCHoklch(16.33% 0.091 280.4)
XYZxyz(0.7571, 0.3535, 3.1597)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0233 #2A3302
analogous
#021233 #0B0233 #230233
triadic
#0B0233 #330B02 #02330B
tetradic
#0B0233 #330212 #2A3302 #023323
square
#0B0233 #330212 #2A3302 #023323
split-complementary
#0B0233 #332302 #123302
monochromatic
#06011D #06011D #0B0233 #18046E #2407A9

Accessibility & contrast

On white

19.61
#0B0233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0233
19.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0233#FFFFFF#000000##FFFFFF
##0B02331.0019.611.0719.61
#FFFFFF19.611.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D34
Deuteranopia (green-blind)
#000A32
Tritanopia (blue-blind)
#00101A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #0b0233;
/* rgb */ color: rgb(11, 2, 51);
/* oklch */ color: oklch(16.3% 0.091 280.4);
Tailwind
colors: {
  custom: {
    50: '#4f476b',
    500: '#0b0233',
    950: '#000000',
  },
}
SCSS
$custom: #0b0233;
$custom-light: #4f476b;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0233",
  "rgb": {
    "r": 11,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 251.02,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.16327,
    "c": 0.09093,
    "h": 280.4
  },
  "luminance": 0.00354
}

Semantic roles & 50–950 ramp

primary
#0B0233
secondary
#66771A
accent
#FF29D8
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020007
muted
#78777A

Preview Lab

Preview with #0B0233

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

Preview Lab → · Contrast checker → · Palette generator →

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