#070313#070313

#070313 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 12.0% C 0.040 H 295.1°. Best body text is #FFFFFF at 20.36:1 contrast (WCAG AA passes).

Color values

HEX#070313
RGBrgb(7, 3, 19)
HSLhsl(255, 73%, 4%)
HSVhsv(255, 84%, 7%)
CMYKcmyk(63.2%, 84.2%, 0%, 92.5%)
CIE-LABlab(1.42, 3.61, -6.62)
CIE-LCHlch(1.42, 7.54, 298.64°)
OKLaboklab(12.04% 0.0169 -0.0362)
OKLCHoklch(12.04% 0.04 295.1)
XYZxyz(0.2377, 0.1573, 0.6338)
Luminance0.0016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070313 #0F1303
analogous
#030713 #070313 #0F0313
triadic
#070313 #130703 #031307
tetradic
#070313 #130307 #0F1303 #03130F
square
#070313 #130307 #0F1303 #03130F
split-complementary
#070313 #130F03 #071303
monochromatic
#0A041A #0A041A #0A041A #1A0B48 #2E147D

Accessibility & contrast

On white

20.36
#070313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070313
20.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070313#FFFFFF#000000##FFFFFF
##0703131.0020.361.0320.36
#FFFFFF20.361.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000514
Deuteranopia (green-blind)
#000513
Tritanopia (blue-blind)
#050509
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #070313;
/* rgb */ color: rgb(7, 3, 19);
/* oklch */ color: oklch(12.0% 0.040 295.1);
Tailwind
colors: {
  custom: {
    50: '#4a4850',
    500: '#070313',
    950: '#000000',
  },
}
SCSS
$custom: #070313;
$custom-light: #4a4850;
$custom-dark: #000000;
JSON
{
  "hex": "#070313",
  "rgb": {
    "r": 7,
    "g": 3,
    "b": 19
  },
  "hsl": {
    "h": 255,
    "s": 72.727,
    "l": 4.314
  },
  "oklch": {
    "l": 0.12043,
    "c": 0.03997,
    "h": 295.1
  },
  "luminance": 0.00157
}

Semantic roles & 50–950 ramp

primary
#070313
secondary
#47561C
accent
#EF38C2
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #070313

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

Preview Lab → · Contrast checker → · Palette generator →

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