#070307#070307

#070307 is a very dark, near-neutral purple. Relative luminance 0.001; OKLCH L 11.0% C 0.018 H 326.7°. Best body text is #FFFFFF at 20.48:1 contrast (WCAG AA passes).

Color values

HEX#070307
RGBrgb(7, 3, 7)
HSLhsl(300, 40%, 2%)
HSVhsv(300, 57%, 3%)
CMYKcmyk(0%, 57.1%, 0%, 97.3%)
CIE-LABlab(1.13, 1.60, -1.15)
CIE-LCHlch(1.13, 1.97, 324.42°)
OKLaboklab(11% 0.0148 -0.0097)
OKLCHoklch(11% 0.018 326.7)
XYZxyz(0.1585, 0.1256, 0.2169)
Luminance0.0013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070307 #030703
analogous
#050307 #070307 #070305
triadic
#070307 #070703 #030707
tetradic
#070307 #070503 #030703 #030507
square
#070307 #070503 #030703 #030507
split-complementary
#070307 #050703 #030705
monochromatic
#150915 #150915 #150915 #321532 #5D285D

Accessibility & contrast

On white

20.48
#070307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#070307 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070307
20.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070307#FFFFFF#000000##FFFFFF
##0703071.0020.481.0320.48
#FFFFFF20.481.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030407
Deuteranopia (green-blind)
#040407
Tritanopia (blue-blind)
#070304
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #070307;
/* rgb */ color: rgb(7, 3, 7);
/* oklch */ color: oklch(11.0% 0.018 326.7);
Tailwind
colors: {
  custom: {
    50: '#4a484a',
    500: '#070307',
    950: '#000000',
  },
}
SCSS
$custom: #070307;
$custom-light: #4a484a;
$custom-dark: #000000;
JSON
{
  "hex": "#070307",
  "rgb": {
    "r": 7,
    "g": 3,
    "b": 7
  },
  "hsl": {
    "h": 300,
    "s": 40,
    "l": 1.961
  },
  "oklch": {
    "l": 0.11003,
    "c": 0.01768,
    "h": 326.7
  },
  "luminance": 0.00126
}

Semantic roles & 50–950 ramp

primary
#070307
secondary
#254125
accent
#D05858
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #070307

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

Preview Lab → · Contrast checker → · Palette generator →

#070307 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva