#0F012D#0F012D

#0F012D is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.7% C 0.085 H 290.1°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).

Color values

HEX#0F012D
RGBrgb(15, 1, 45)
HSLhsl(259, 96%, 9%)
HSVhsv(259, 98%, 18%)
CMYKcmyk(66.7%, 97.8%, 0%, 82.4%)
CIE-LABlab(2.82, 15.74, -24.44)
CIE-LCHlch(2.82, 29.07, 302.78°)
OKLaboklab(15.72% 0.0291 -0.0795)
OKLCHoklch(15.72% 0.085 290.1)
XYZxyz(0.6814, 0.3127, 2.5066)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F012D #1F2D01
analogous
#01092D #0F012D #25012D
triadic
#0F012D #2D0F01 #012D0F
tetradic
#0F012D #2D0109 #1F2D01 #012D25
square
#0F012D #2D0109 #1F2D01 #012D25
split-complementary
#0F012D #2D2501 #092D01
monochromatic
#0A011E #0A011E #0F012D #230269 #3704A5

Accessibility & contrast

On white

19.76
#0F012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#0F012D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F012D
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F012D#FFFFFF#000000##FFFFFF
##0F012D1.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B2E
Deuteranopia (green-blind)
#00092C
Tritanopia (blue-blind)
#040C16
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #0f012d;
/* rgb */ color: rgb(15, 1, 45);
/* oklch */ color: oklch(15.7% 0.085 290.1);
Tailwind
colors: {
  custom: {
    50: '#4f4766',
    500: '#0f012d',
    950: '#000000',
  },
}
SCSS
$custom: #0f012d;
$custom-light: #4f4766;
$custom-dark: #000000;
JSON
{
  "hex": "#0f012d",
  "rgb": {
    "r": 15,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 259.091,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.15722,
    "c": 0.08466,
    "h": 290.1
  },
  "luminance": 0.00313
}

Semantic roles & 50–950 ramp

primary
#0F012D
secondary
#567317
accent
#FF29BB
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A

Preview Lab

Preview with #0F012D

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

Preview Lab → · Contrast checker → · Palette generator →

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