#0F092B#0F092B

#0F092B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.4% C 0.066 H 285.4°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#0F092B
RGBrgb(15, 9, 43)
HSLhsl(251, 65%, 10%)
HSVhsv(251, 79%, 17%)
CMYKcmyk(65.1%, 79.1%, 0%, 83.1%)
CIE-LABlab(4.26, 11.58, -20.66)
CIE-LCHlch(4.26, 23.68, 299.27°)
OKLaboklab(17.4% 0.0175 -0.0633)
OKLCHoklch(17.4% 0.066 285.4)
XYZxyz(0.7306, 0.4713, 2.3375)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F092B #252B09
analogous
#09142B #0F092B #20092B
triadic
#0F092B #2B0F09 #092B0F
tetradic
#0F092B #2B0914 #252B09 #092B20
square
#0F092B #2B0914 #252B09 #092B20
split-complementary
#0F092B #2B2009 #142B09
monochromatic
#090519 #090519 #0F092B #21145E #321E90

Accessibility & contrast

On white

19.19
#0F092B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F092B
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F092B#FFFFFF#000000##FFFFFF
##0F092B1.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f092b;
/* rgb */ color: rgb(15, 9, 43);
/* oklch */ color: oklch(17.4% 0.066 285.4);
Tailwind
colors: {
  custom: {
    50: '#4f4a64',
    500: '#0f092b',
    950: '#000000',
  },
}
SCSS
$custom: #0f092b;
$custom-light: #4f4a64;
$custom-dark: #000000;
JSON
{
  "hex": "#0f092b",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 43
  },
  "hsl": {
    "h": 250.588,
    "s": 65.385,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17396,
    "c": 0.06565,
    "h": 285.4
  },
  "luminance": 0.00471
}

Semantic roles & 50–950 ramp

primary
#0F092B
secondary
#5D6927
accent
#E83FCB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0F092B

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

Preview Lab → · Contrast checker → · Palette generator →

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