#0F092D#0F092D

#0F092D is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.6% C 0.069 H 284.5°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#0F092D
RGBrgb(15, 9, 45)
HSLhsl(250, 67%, 11%)
HSVhsv(250, 80%, 18%)
CMYKcmyk(66.7%, 80%, 0%, 82.4%)
CIE-LABlab(4.39, 12.53, -21.95)
CIE-LCHlch(4.39, 25.28, 299.72°)
OKLaboklab(17.61% 0.0172 -0.0667)
OKLCHoklch(17.61% 0.069 284.5)
XYZxyz(0.7682, 0.4864, 2.5355)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F092D #272D09
analogous
#09152D #0F092D #21092D
triadic
#0F092D #2D0F09 #092D0F
tetradic
#0F092D #2D0915 #272D09 #092D21
square
#0F092D #2D0915 #272D09 #092D21
split-complementary
#0F092D #2D2109 #152D09
monochromatic
#08051A #08051A #0F092D #201360 #311D93

Accessibility & contrast

On white

19.14
#0F092D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0F092D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F092D
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F092D#FFFFFF#000000##FFFFFF
##0F092D1.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102E
Deuteranopia (green-blind)
#000E2C
Tritanopia (blue-blind)
#041219
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0f092d;
/* rgb */ color: rgb(15, 9, 45);
/* oklch */ color: oklch(17.6% 0.069 284.5);
Tailwind
colors: {
  custom: {
    50: '#504a66',
    500: '#0f092d',
    950: '#000000',
  },
}
SCSS
$custom: #0f092d;
$custom-light: #504a66;
$custom-dark: #000000;
JSON
{
  "hex": "#0f092d",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 45
  },
  "hsl": {
    "h": 250,
    "s": 66.667,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17608,
    "c": 0.06891,
    "h": 284.5
  },
  "luminance": 0.00486
}

Semantic roles & 50–950 ramp

primary
#0F092D
secondary
#606B27
accent
#EA3ECD
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #0F092D

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

Preview Lab → · Contrast checker → · Palette generator →

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