#0F0C19#0F0C19

#0F0C19 is a very dark, muted violet. Relative luminance 0.004; OKLCH L 16.5% C 0.027 H 293.8°. Best body text is #FFFFFF at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#0F0C19
RGBrgb(15, 12, 25)
HSLhsl(254, 35%, 7%)
HSVhsv(254, 52%, 10%)
CMYKcmyk(40%, 52%, 0%, 90.2%)
CIE-LABlab(3.93, 3.72, -7.20)
CIE-LCHlch(3.93, 8.10, 297.30°)
OKLaboklab(16.54% 0.011 -0.0248)
OKLCHoklch(16.54% 0.027 293.8)
XYZxyz(0.5039, 0.4347, 0.9769)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0C19 #16190C
analogous
#0C1019 #0F0C19 #160C19
triadic
#0F0C19 #190F0C #0C190F
tetradic
#0F0C19 #190C10 #16190C #0C1916
square
#0F0C19 #190C10 #16190C #0C1916
split-complementary
#0F0C19 #19160C #10190C
monochromatic
#0C0A15 #0C0A15 #0F0C19 #282042 #41346C

Accessibility & contrast

On white

19.32
#0F0C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0C19
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0C19#FFFFFF#000000##FFFFFF
##0F0C191.0019.321.0919.32
#FFFFFF19.321.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090E1A
Deuteranopia (green-blind)
#090E19
Tritanopia (blue-blind)
#0D0E11
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0f0c19;
/* rgb */ color: rgb(15, 12, 25);
/* oklch */ color: oklch(16.5% 0.027 293.8);
Tailwind
colors: {
  custom: {
    50: '#4d4c55',
    500: '#0f0c19',
    950: '#000000',
  },
}
SCSS
$custom: #0f0c19;
$custom-light: #4d4c55;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0c19",
  "rgb": {
    "r": 15,
    "g": 12,
    "b": 25
  },
  "hsl": {
    "h": 253.846,
    "s": 35.135,
    "l": 7.255
  },
  "oklch": {
    "l": 0.16539,
    "c": 0.02712,
    "h": 293.8
  },
  "luminance": 0.00435
}

Semantic roles & 50–950 ramp

primary
#0F0C19
secondary
#495031
accent
#CB5DB2
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010103
muted
#777778

Preview Lab

Preview with #0F0C19

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

Preview Lab → · Contrast checker → · Palette generator →

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