#0F0928#0F0928

#0F0928 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.1% C 0.061 H 287.1°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#0F0928
RGBrgb(15, 9, 40)
HSLhsl(252, 63%, 10%)
HSVhsv(252, 78%, 16%)
CMYKcmyk(62.5%, 77.5%, 0%, 84.3%)
CIE-LABlab(4.07, 10.23, -18.68)
CIE-LCHlch(4.07, 21.30, 298.71°)
OKLaboklab(17.09% 0.0178 -0.058)
OKLCHoklch(17.09% 0.061 287.1)
XYZxyz(0.6776, 0.4501, 2.0582)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F0928 #222809
analogous
#091328 #0F0928 #1F0928
triadic
#0F0928 #280F09 #09280F
tetradic
#0F0928 #280913 #222809 #09281F
square
#0F0928 #280913 #222809 #09281F
split-complementary
#0F0928 #281F09 #132809
monochromatic
#090619 #090619 #0F0928 #22145A #341F8C

Accessibility & contrast

On white

19.27
#0F0928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F0928
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F0928#FFFFFF#000000##FFFFFF
##0F09281.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F29
Deuteranopia (green-blind)
#000D27
Tritanopia (blue-blind)
#071017
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0f0928;
/* rgb */ color: rgb(15, 9, 40);
/* oklch */ color: oklch(17.1% 0.061 287.1);
Tailwind
colors: {
  custom: {
    50: '#4e4a62',
    500: '#0f0928',
    950: '#000000',
  },
}
SCSS
$custom: #0f0928;
$custom-light: #4e4a62;
$custom-dark: #000000;
JSON
{
  "hex": "#0f0928",
  "rgb": {
    "r": 15,
    "g": 9,
    "b": 40
  },
  "hsl": {
    "h": 251.613,
    "s": 63.265,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17087,
    "c": 0.06066,
    "h": 287.1
  },
  "luminance": 0.0045
}

Semantic roles & 50–950 ramp

primary
#0F0928
secondary
#5A6627
accent
#E641C6
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #0F0928

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

Preview Lab → · Contrast checker → · Palette generator →

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