Onyx

HEX: #0F0F0F | Modern Palette

On White
19.17:1
PASS
On Black
1.10:1
FAIL

Color Specifications

HEX
#0F0F0F
RGB
15, 15, 15
HSL
0°, 0% ,5%
CMYK
0, 0, 0, 94

About Onyx

Onyx (#0F0F0F) is a color with RGB(15, 15, 15) and HSL(0°, 0%, 5.9%). It is commonly associated with Minimal moods. In design, it fits Monochrome, Warm styles and is suitable for Text, Background, Print. Its complementary color is Onyx (#0F0F0F), which creates strong contrast. Its triadic palette includes Onyx (#0F0F0F) and Onyx (#0F0F0F). The name comes from ὄνυξ (ónux) (Greek).

  • HEX: #0F0F0F
  • RGB: 15, 15, 15
  • HSL: 0°, 0%, 5.9%
  • Mood: Minimal
  • Style: Monochrome, Warm
  • Use case: Text, Background, Print
  • Complementary color: Onyx (#0F0F0F)
  • Triadic colors: Onyx (#0F0F0F), Onyx (#0F0F0F)
  • The name comes from ὄνυξ (ónux) (Greek).

Live Components

LIGHT
DARK
System Notification Box

Color Palettes

Monochromatic Five tones of the same hue — a reliable scale for backgrounds, surfaces, and text.
Neutral + Accent Four near-neutral tones grounded by a saturated accent — clean and versatile for UI.
Analogous Five hues drifting across a 60° arc — naturally harmonious and pleasing to the eye.
3 + 1 + 1 Three analogous base colors, one complementary accent, one dark anchor — bold yet balanced.

Color Harmonies

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Shades & Tints

A seamless scale of #0F0F0F from deepest shade to lightest tint.

Color Characteristics

Mood
Minimal
Use case
Text Background Print

Accessibility Simulation

Deuteranopia #0F0F0F
Protanopia #0F0F0F
Tritanopia #0F0F0F
Achromatopsia #0F0F0F

Frequently Asked Questions

Onyx (#0F0F0F) is a color with RGB(15, 15, 15) and HSL(0°, 0%, 5.9%).

#0F0F0F pairs strongly with Onyx (#0F0F0F) as its complementary color. It can also be used with neutral tones for balanced UI and design layouts.

#0F0F0F is suitable for Text, Background, Print and works well with Monochrome, Warm styles.

#0F0F0F is commonly associated with Minimal.

The name Onyx is linked to ὄνυξ (ónux) from Greek, meaning fingernail, claw.

Name, History & Etymology

Origin Word ὄνυξ (ónux)
Meaning fingernail, claw
Language Greek
First Recorded Use Ancient

History

The name 'onyx' comes from the Greek word for 'fingernail' or 'claw,' likely due to its translucent, flesh-colored appearance in some varieties, or perhaps the sharp white bands on some black onyx. It was highly valued by ancient civilizations, including the Egyptians, Greeks, and Romans, who used it for carving cameos, intaglios, and other ornamental objects. Black onyx, in particular, gained popularity later and is often associated with protection and strength. Throughout history, different cultures have attributed various mystical and healing properties to onyx.

First Recorded Use

The term 'onyx' for the gemstone dates back to antiquity, with references in ancient Greek and Roman texts.

Cultural Associations

In ancient Rome, onyx was often used for seals and signet rings. In some cultures, black onyx is believed to ward off negative energy and provide strength and support during difficult times. It is also associated with grounding and self-control. In modern jewelry, black onyx is a popular choice for its sleek, sophisticated appearance.

Similar Named Colors

Smoky Black #100C08 ΔE 2.23
Rich Black (FOGRA39) #010203 ΔE 2.28
Others #-0 ΔE 2.52
Black #000000 ΔE 2.52

Code Snippets

/* Background */
.element {
    background-color: #0F0F0F;
}

/* Text */
.element {
    color: #0F0F0F;
}

/* Border */
.element {
    border: 1px solid #0F0F0F;
}

/* Linear gradient to complementary */
.element {
    background: linear-gradient(
        to right,
        #0F0F0F,
        #0F0F0F
    );
}

/* Radial gradient */
.element {
    background: radial-gradient(
        circle,
        #0F0F0F,
        #0F0F0F
    );
}

// SCSS variable
$onyx: #0F0F0F;

// With RGB channels (useful for rgba() usage)
$onyx-r: 15;
$onyx-g: 15;
$onyx-b: 15;

// Usage
.element {
    background-color: $onyx;
    color: rgba($onyx-r, $onyx-g, $onyx-b, 0.8);
}