#09040F#09040F

#09040F is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.5% C 0.029 H 306.7°. Best body text is #FFFFFF at 20.27:1 contrast (WCAG AA passes).

Color values

HEX#09040F
RGBrgb(9, 4, 15)
HSLhsl(267, 58%, 4%)
HSVhsv(267, 73%, 6%)
CMYKcmyk(40%, 73.3%, 0%, 94.1%)
CIE-LABlab(1.62, 2.94, -3.98)
CIE-LCHlch(1.62, 4.95, 306.45°)
OKLaboklab(12.46% 0.0174 -0.0233)
OKLCHoklch(12.46% 0.029 306.7)
XYZxyz(0.2423, 0.1794, 0.4737)
Luminance0.0018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#09040F #0A0F04
analogous
#04040F #09040F #0E040F
triadic
#09040F #0F0904 #040F09
tetradic
#09040F #0F0404 #0A0F04 #040F0E
square
#09040F #0F0404 #0A0F04 #040F0E
split-complementary
#09040F #0F0E04 #040F04
monochromatic
#0E0618 #0E0618 #0E0618 #26113F #431E70

Accessibility & contrast

On white

20.27
#09040F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#09040F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #09040F
20.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##09040F#FFFFFF#000000##FFFFFF
##09040F1.0020.271.0420.27
#FFFFFF20.271.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02060F
Deuteranopia (green-blind)
#03060F
Tritanopia (blue-blind)
#080508
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #09040f;
/* rgb */ color: rgb(9, 4, 15);
/* oklch */ color: oklch(12.5% 0.029 306.7);
Tailwind
colors: {
  custom: {
    50: '#4b484e',
    500: '#09040f',
    950: '#000000',
  },
}
SCSS
$custom: #09040f;
$custom-light: #4b484e;
$custom-dark: #000000;
JSON
{
  "hex": "#09040f",
  "rgb": {
    "r": 9,
    "g": 4,
    "b": 15
  },
  "hsl": {
    "h": 267.273,
    "s": 57.895,
    "l": 3.725
  },
  "oklch": {
    "l": 0.1246,
    "c": 0.0291,
    "h": 306.7
  },
  "luminance": 0.00179
}

Semantic roles & 50–950 ramp

primary
#09040F
secondary
#394E21
accent
#E1479B
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #09040F

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

Preview Lab → · Contrast checker → · Palette generator →

#09040F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva