#070021#070021

#070021 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 12.5% C 0.073 H 286.2°. Best body text is #FFFFFF at 20.37:1 contrast (WCAG AA passes).

Color values

HEX#070021
RGBrgb(7, 0, 33)
HSLhsl(253, 100%, 6%)
HSVhsv(253, 100%, 13%)
CMYKcmyk(78.8%, 100%, 0%, 87.1%)
CIE-LABlab(1.40, 8.80, -17.40)
CIE-LCHlch(1.40, 19.50, 296.82°)
OKLaboklab(12.54% 0.0203 -0.0698)
OKLCHoklch(12.54% 0.073 286.2)
XYZxyz(0.3621, 0.1550, 1.4494)
Luminance0.0015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070021 #1A2100
analogous
#000A21 #070021 #180021
triadic
#070021 #210700 #002107
tetradic
#070021 #21000A #1A2100 #002118
square
#070021 #21000A #1A2100 #002118
split-complementary
#070021 #211800 #0A2100
monochromatic
#06001F #06001F #070021 #14005E #21009B

Accessibility & contrast

On white

20.37
#070021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070021
20.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070021#FFFFFF#000000##FFFFFF
##0700211.0020.371.0320.37
#FFFFFF20.371.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000622
Deuteranopia (green-blind)
#000420
Tritanopia (blue-blind)
#00070F
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #070021;
/* rgb */ color: rgb(7, 0, 33);
/* oklch */ color: oklch(12.5% 0.073 286.2);
Tailwind
colors: {
  custom: {
    50: '#49475c',
    500: '#070021',
    950: '#000000',
  },
}
SCSS
$custom: #070021;
$custom-light: #49475c;
$custom-dark: #000000;
JSON
{
  "hex": "#070021",
  "rgb": {
    "r": 7,
    "g": 0,
    "b": 33
  },
  "hsl": {
    "h": 252.727,
    "s": 100,
    "l": 6.471
  },
  "oklch": {
    "l": 0.1254,
    "c": 0.07271,
    "h": 286.2
  },
  "luminance": 0.00155
}

Semantic roles & 50–950 ramp

primary
#070021
secondary
#586A13
accent
#FF29D2
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #070021

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

Preview Lab → · Contrast checker → · Palette generator →

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