#07001F#07001F

#07001F is a very dark, moderate violet. Relative luminance 0.001; OKLCH L 12.2% C 0.070 H 287.9°. Best body text is #FFFFFF at 20.41:1 contrast (WCAG AA passes).

Color values

HEX#07001F
RGBrgb(7, 0, 31)
HSLhsl(254, 100%, 6%)
HSVhsv(254, 100%, 12%)
CMYKcmyk(77.4%, 100%, 0%, 87.8%)
CIE-LABlab(1.30, 8.11, -15.95)
CIE-LCHlch(1.30, 17.90, 296.94°)
OKLaboklab(12.23% 0.0216 -0.0667)
OKLCHoklch(12.23% 0.07 287.9)
XYZxyz(0.3349, 0.1441, 1.3062)
Luminance0.0014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07001F #181F00
analogous
#00081F #07001F #16001F
triadic
#07001F #1F0700 #001F07
tetradic
#07001F #1F0008 #181F00 #001F16
square
#07001F #1F0008 #181F00 #001F16
split-complementary
#07001F #1F1600 #081F00
monochromatic
#07001F #07001F #07001F #15005C #230099

Accessibility & contrast

On white

20.41
#07001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#07001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07001F
20.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07001F#FFFFFF#000000##FFFFFF
##07001F1.0020.411.0320.41
#FFFFFF20.411.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000520
Deuteranopia (green-blind)
#00041E
Tritanopia (blue-blind)
#01060D
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #07001f;
/* rgb */ color: rgb(7, 0, 31);
/* oklch */ color: oklch(12.2% 0.070 287.9);
Tailwind
colors: {
  custom: {
    50: '#49475a',
    500: '#07001f',
    950: '#000000',
  },
}
SCSS
$custom: #07001f;
$custom-light: #49475a;
$custom-dark: #000000;
JSON
{
  "hex": "#07001f",
  "rgb": {
    "r": 7,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 253.548,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.12234,
    "c": 0.07014,
    "h": 287.9
  },
  "luminance": 0.00144
}

Semantic roles & 50–950 ramp

primary
#07001F
secondary
#556812
accent
#FF29CF
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #07001F

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

Preview Lab → · Contrast checker → · Palette generator →

#07001F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva