#07040E#07040E

#07040E is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.0% C 0.026 H 299.5°. Best body text is #FFFFFF at 20.33:1 contrast (WCAG AA passes).

Color values

HEX#07040E
RGBrgb(7, 4, 14)
HSLhsl(258, 56%, 4%)
HSVhsv(258, 71%, 5%)
CMYKcmyk(50%, 71.4%, 0%, 94.5%)
CIE-LABlab(1.48, 2.24, -3.69)
CIE-LCHlch(1.48, 4.31, 301.30°)
OKLaboklab(12.04% 0.013 -0.0229)
OKLCHoklch(12.04% 0.026 299.5)
XYZxyz(0.2103, 0.1637, 0.4359)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07040E #0B0E04
analogous
#04060E #07040E #0C040E
triadic
#07040E #0E0704 #040E07
tetradic
#07040E #0E0406 #0B0E04 #040E0C
square
#07040E #0E0406 #0B0E04 #040E0C
split-complementary
#07040E #0E0C04 #060E04
monochromatic
#0C0718 #0C0718 #0C0718 #1F123E #371F6D

Accessibility & contrast

On white

20.33
#07040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#07040E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07040E
20.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07040E#FFFFFF#000000##FFFFFF
##07040E1.0020.331.0320.33
#FFFFFF20.331.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02050E
Deuteranopia (green-blind)
#03050E
Tritanopia (blue-blind)
#060507
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #07040e;
/* rgb */ color: rgb(7, 4, 14);
/* oklch */ color: oklch(12.0% 0.026 299.5);
Tailwind
colors: {
  custom: {
    50: '#4a484d',
    500: '#07040e',
    950: '#000000',
  },
}
SCSS
$custom: #07040e;
$custom-light: #4a484d;
$custom-dark: #000000;
JSON
{
  "hex": "#07040e",
  "rgb": {
    "r": 7,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 258,
    "s": 55.556,
    "l": 3.529
  },
  "oklch": {
    "l": 0.12037,
    "c": 0.02635,
    "h": 299.5
  },
  "luminance": 0.00164
}

Semantic roles & 50–950 ramp

primary
#07040E
secondary
#3F4C22
accent
#DF49B2
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #07040E

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

Preview Lab → · Contrast checker → · Palette generator →

#07040E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva