#0C080F#0C080F

#0C080F is a very dark, near-neutral violet. Relative luminance 0.003; OKLCH L 14.4% C 0.017 H 310.6°. Best body text is #FFFFFF at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#0C080F
RGBrgb(12, 8, 15)
HSLhsl(274, 30%, 5%)
HSVhsv(274, 47%, 6%)
CMYKcmyk(20%, 46.7%, 0%, 94.1%)
CIE-LABlab(2.59, 2.15, -2.55)
CIE-LCHlch(2.59, 3.34, 310.19°)
OKLaboklab(14.37% 0.0108 -0.0126)
OKLCHoklch(14.37% 0.017 310.6)
XYZxyz(0.3247, 0.2863, 0.4900)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C080F #0B0F08
analogous
#09080F #0C080F #0F080F
triadic
#0C080F #0F0C08 #080F0C
tetradic
#0C080F #0F0908 #0B0F08 #080F0F
square
#0C080F #0F0908 #0B0F08 #080F0F
split-complementary
#0C080F #0F0F08 #080F09
monochromatic
#100B14 #100B14 #100B14 #2C1D37 #4C335F

Accessibility & contrast

On white

19.86
#0C080F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C080F
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C080F#FFFFFF#000000##FFFFFF
##0C080F1.0019.861.0619.86
#FFFFFF19.861.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07090F
Deuteranopia (green-blind)
#080A0F
Tritanopia (blue-blind)
#0C090A
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0c080f;
/* rgb */ color: rgb(12, 8, 15);
/* oklch */ color: oklch(14.4% 0.017 310.6);
Tailwind
colors: {
  custom: {
    50: '#4c4a4e',
    500: '#0c080f',
    950: '#000000',
  },
}
SCSS
$custom: #0c080f;
$custom-light: #4c4a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c080f",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 15
  },
  "hsl": {
    "h": 274.286,
    "s": 30.435,
    "l": 4.51
  },
  "oklch": {
    "l": 0.14367,
    "c": 0.0166,
    "h": 310.6
  },
  "luminance": 0.00286
}

Semantic roles & 50–950 ramp

primary
#0C080F
secondary
#38462D
accent
#C7618D
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010101
muted
#777777

Preview Lab

Preview with #0C080F

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

Preview Lab → · Contrast checker → · Palette generator →

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