#0B0230#0B0230

#0B0230 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.9% C 0.087 H 281.9°. Best body text is #FFFFFF at 19.71:1 contrast (WCAG AA passes).

Color values

HEX#0B0230
RGBrgb(11, 2, 48)
HSLhsl(252, 92%, 10%)
HSVhsv(252, 96%, 19%)
CMYKcmyk(77.1%, 95.8%, 0%, 81.2%)
CIE-LABlab(2.96, 15.63, -26.50)
CIE-LCHlch(2.96, 30.76, 300.53°)
OKLaboklab(15.9% 0.0179 -0.085)
OKLCHoklch(15.9% 0.087 281.9)
XYZxyz(0.6931, 0.3279, 2.8225)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B0230 #273002
analogous
#021030 #0B0230 #220230
triadic
#0B0230 #300B02 #02300B
tetradic
#0B0230 #300210 #273002 #023022
square
#0B0230 #300210 #273002 #023022
split-complementary
#0B0230 #302202 #103002
monochromatic
#07011D #07011D #0B0230 #18046B #2607A6

Accessibility & contrast

On white

19.71
#0B0230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B0230
19.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B0230#FFFFFF#000000##FFFFFF
##0B02301.0019.711.0719.71
#FFFFFF19.711.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C31
Deuteranopia (green-blind)
#00092F
Tritanopia (blue-blind)
#000F18
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0b0230;
/* rgb */ color: rgb(11, 2, 48);
/* oklch */ color: oklch(15.9% 0.087 281.9);
Tailwind
colors: {
  custom: {
    50: '#4e4769',
    500: '#0b0230',
    950: '#000000',
  },
}
SCSS
$custom: #0b0230;
$custom-light: #4e4769;
$custom-dark: #000000;
JSON
{
  "hex": "#0b0230",
  "rgb": {
    "r": 11,
    "g": 2,
    "b": 48
  },
  "hsl": {
    "h": 251.739,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.15903,
    "c": 0.08689,
    "h": 281.9
  },
  "luminance": 0.00328
}

Semantic roles & 50–950 ramp

primary
#0B0230
secondary
#637519
accent
#FF29D5
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0B0230

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

Preview Lab → · Contrast checker → · Palette generator →

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