#070024#070024

#070024 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.0% C 0.077 H 283.9°. Best body text is #FFFFFF at 20.30:1 contrast (WCAG AA passes).

Color values

HEX#070024
RGBrgb(7, 0, 36)
HSLhsl(252, 100%, 7%)
HSVhsv(252, 100%, 14%)
CMYKcmyk(80.6%, 100%, 0%, 85.9%)
CIE-LABlab(1.56, 9.92, -19.52)
CIE-LCHlch(1.56, 21.90, 296.92°)
OKLaboklab(13% 0.0183 -0.0743)
OKLCHoklch(13% 0.077 283.9)
XYZxyz(0.4060, 0.1725, 1.6806)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070024 #1D2400
analogous
#000B24 #070024 #190024
triadic
#070024 #240700 #002407
tetradic
#070024 #24000B #1D2400 #002419
square
#070024 #24000B #1D2400 #002419
split-complementary
#070024 #241900 #0B2400
monochromatic
#06001F #06001F #070024 #130061 #1F009E

Accessibility & contrast

On white

20.30
#070024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070024
20.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070024#FFFFFF#000000##FFFFFF
##0700241.0020.301.0320.30
#FFFFFF20.301.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000725
Deuteranopia (green-blind)
#000523
Tritanopia (blue-blind)
#000810
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #070024;
/* rgb */ color: rgb(7, 0, 36);
/* oklch */ color: oklch(13.0% 0.077 283.9);
Tailwind
colors: {
  custom: {
    50: '#49475e',
    500: '#070024',
    950: '#000000',
  },
}
SCSS
$custom: #070024;
$custom-light: #49475e;
$custom-dark: #000000;
JSON
{
  "hex": "#070024",
  "rgb": {
    "r": 7,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 251.667,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.13004,
    "c": 0.07657,
    "h": 283.9
  },
  "luminance": 0.00173
}

Semantic roles & 50–950 ramp

primary
#070024
secondary
#5B6D13
accent
#FF29D5
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #070024

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

Preview Lab → · Contrast checker → · Palette generator →

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