#070508#070508

#070508 is a very dark, near-neutral purple. Relative luminance 0.002; OKLCH L 12.1% C 0.010 H 315.5°. Best body text is #FFFFFF at 20.31:1 contrast (WCAG AA passes).

Color values

HEX#070508
RGBrgb(7, 5, 8)
HSLhsl(280, 23%, 3%)
HSVhsv(280, 38%, 3%)
CMYKcmyk(12.5%, 37.5%, 0%, 96.9%)
CIE-LABlab(1.55, 0.94, -0.95)
CIE-LCHlch(1.55, 1.34, 314.66°)
OKLaboklab(12.07% 0.007 -0.0069)
OKLCHoklch(12.07% 0.01 315.5)
XYZxyz(0.1857, 0.1712, 0.2530)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070508 #060805
analogous
#050508 #070508 #080507
triadic
#070508 #080705 #050807
tetradic
#070508 #080505 #060805 #050708
square
#070508 #080505 #060805 #050708
split-complementary
#070508 #070805 #050805
monochromatic
#100C13 #100C13 #100C13 #281D2E #493453

Accessibility & contrast

On white

20.31
#070508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070508
20.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070508#FFFFFF#000000##FFFFFF
##0705081.0020.311.0320.31
#FFFFFF20.311.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050608
Deuteranopia (green-blind)
#050608
Tritanopia (blue-blind)
#070506
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #070508;
/* rgb */ color: rgb(7, 5, 8);
/* oklch */ color: oklch(12.1% 0.010 315.5);
Tailwind
colors: {
  custom: {
    50: '#4a494a',
    500: '#070508',
    950: '#000000',
  },
}
SCSS
$custom: #070508;
$custom-light: #4a494a;
$custom-dark: #000000;
JSON
{
  "hex": "#070508",
  "rgb": {
    "r": 7,
    "g": 5,
    "b": 8
  },
  "hsl": {
    "h": 280,
    "s": 23.077,
    "l": 2.549
  },
  "oklch": {
    "l": 0.12067,
    "c": 0.00986,
    "h": 315.5
  },
  "luminance": 0.00171
}

Semantic roles & 50–950 ramp

primary
#070508
secondary
#323D2C
accent
#C06885
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #070508

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

Preview Lab → · Contrast checker → · Palette generator →

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