#0F001F#0F001F

#0F001F is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.6% C 0.071 H 303.9°. Best body text is #FFFFFF at 20.19:1 contrast (WCAG AA passes).

Color values

HEX#0F001F
RGBrgb(15, 0, 31)
HSLhsl(269, 100%, 6%)
HSVhsv(269, 100%, 12%)
CMYKcmyk(51.6%, 100%, 0%, 87.8%)
CIE-LABlab(1.81, 10.39, -15.14)
CIE-LCHlch(1.81, 18.36, 304.48°)
OKLaboklab(13.58% 0.0396 -0.0589)
OKLCHoklch(13.58% 0.071 303.9)
XYZxyz(0.4443, 0.2005, 1.3114)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F001F #101F00
analogous
#00011F #0F001F #1E001F
triadic
#0F001F #1F0F00 #001F0F
tetradic
#0F001F #1F0001 #101F00 #001F1E
square
#0F001F #1F0001 #101F00 #001F1E
split-complementary
#0F001F #1F1E00 #011F00
monochromatic
#0F001F #0F001F #0F001F #2D005C #4A0099

Accessibility & contrast

On white

20.19
#0F001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0F001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F001F
20.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F001F#FFFFFF#000000##FFFFFF
##0F001F1.0020.191.0420.19
#FFFFFF20.191.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000620
Deuteranopia (green-blind)
#00071E
Tritanopia (blue-blind)
#0C050D
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0f001f;
/* rgb */ color: rgb(15, 0, 31);
/* oklch */ color: oklch(13.6% 0.071 303.9);
Tailwind
colors: {
  custom: {
    50: '#4d465a',
    500: '#0f001f',
    950: '#000000',
  },
}
SCSS
$custom: #0f001f;
$custom-light: #4d465a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f001f",
  "rgb": {
    "r": 15,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 269.032,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.13584,
    "c": 0.07099,
    "h": 303.9
  },
  "luminance": 0.002
}

Semantic roles & 50–950 ramp

primary
#0F001F
secondary
#3F6812
accent
#FF2997
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #0F001F

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

Preview Lab → · Contrast checker → · Palette generator →

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