#070211#070211

#070211 is a very dark, muted violet. Relative luminance 0.001; OKLCH L 11.4% C 0.041 H 300.6°. Best body text is #FFFFFF at 20.47:1 contrast (WCAG AA passes).

Color values

HEX#070211
RGBrgb(7, 2, 17)
HSLhsl(260, 79%, 4%)
HSVhsv(260, 88%, 7%)
CMYKcmyk(58.8%, 88.2%, 0%, 93.3%)
CIE-LABlab(1.17, 3.60, -5.77)
CIE-LCHlch(1.17, 6.80, 301.93°)
OKLaboklab(11.35% 0.0209 -0.0353)
OKLCHoklch(11.35% 0.041 300.6)
XYZxyz(0.2105, 0.1291, 0.5440)
Luminance0.0013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070211 #0C1102
analogous
#020411 #070211 #0E0211
triadic
#070211 #110702 #021107
tetradic
#070211 #110204 #0C1102 #02110E
square
#070211 #110204 #0C1102 #02110E
split-complementary
#070211 #110E02 #041102
monochromatic
#0B031B #0B031B #0B031B #1E0848 #340F7F

Accessibility & contrast

On white

20.47
#070211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070211
20.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070211#FFFFFF#000000##FFFFFF
##0702111.0020.471.0320.47
#FFFFFF20.471.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000412
Deuteranopia (green-blind)
#000411
Tritanopia (blue-blind)
#050407
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #070211;
/* rgb */ color: rgb(7, 2, 17);
/* oklch */ color: oklch(11.4% 0.041 300.6);
Tailwind
colors: {
  custom: {
    50: '#4a484f',
    500: '#070211',
    950: '#000000',
  },
}
SCSS
$custom: #070211;
$custom-light: #4a484f;
$custom-dark: #000000;
JSON
{
  "hex": "#070211",
  "rgb": {
    "r": 7,
    "g": 2,
    "b": 17
  },
  "hsl": {
    "h": 260,
    "s": 78.947,
    "l": 3.725
  },
  "oklch": {
    "l": 0.11354,
    "c": 0.04104,
    "h": 300.6
  },
  "luminance": 0.00129
}

Semantic roles & 50–950 ramp

primary
#070211
secondary
#425619
accent
#F532B4
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #070211

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

Preview Lab → · Contrast checker → · Palette generator →

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