#0F092A#0F092A

#0F092A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.3% C 0.064 H 286.0°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#0F092A
RGBrgb(15, 9, 42)
HSLhsl(251, 65%, 10%)
HSVhsv(251, 79%, 16%)
CMYKcmyk(64.3%, 78.6%, 0%, 83.5%)
CIE-LABlab(4.19, 11.12, -20.00)
CIE-LCHlch(4.19, 22.89, 299.06°)
OKLaboklab(17.29% 0.0176 -0.0615)
OKLCHoklch(17.29% 0.064 286)
XYZxyz(0.7125, 0.4641, 2.2421)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F092A #242A09
analogous
#09142A #0F092A #1F092A
triadic
#0F092A #2A0F09 #092A0F
tetradic
#0F092A #2A0914 #242A09 #092A1F
square
#0F092A #2A0914 #242A09 #092A1F
split-complementary
#0F092A #2A1F09 #142A09
monochromatic
#090519 #090519 #0F092A #21145C #331F8F

Accessibility & contrast

On white

19.22
#0F092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0F092A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F092A
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F092A#FFFFFF#000000##FFFFFF
##0F092A1.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#051118
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f092a;
/* rgb */ color: rgb(15, 9, 42);
/* oklch */ color: oklch(17.3% 0.064 286.0);
Tailwind
colors: {
  custom: {
    50: '#4f4a63',
    500: '#0f092a',
    950: '#000000',
  },
}
SCSS
$custom: #0f092a;
$custom-light: #4f4a63;
$custom-dark: #000000;
JSON
{
  "hex": "#0f092a",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 250.909,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.17292,
    "c": 0.064,
    "h": 286
  },
  "luminance": 0.00464
}

Semantic roles & 50–950 ramp

primary
#0F092A
secondary
#5C6827
accent
#E840C9
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #0F092A

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

Preview Lab → · Contrast checker → · Palette generator →

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