#070026#070026

#070026 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.3% C 0.079 H 282.5°. Best body text is #FFFFFF at 20.25:1 contrast (WCAG AA passes).

Color values

HEX#070026
RGBrgb(7, 0, 38)
HSLhsl(251, 100%, 7%)
HSVhsv(251, 100%, 15%)
CMYKcmyk(81.6%, 100%, 0%, 85.1%)
CIE-LABlab(1.67, 10.71, -20.91)
CIE-LCHlch(1.67, 23.49, 297.12°)
OKLaboklab(13.32% 0.0171 -0.0773)
OKLCHoklch(13.32% 0.079 282.5)
XYZxyz(0.4374, 0.1851, 1.8460)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070026 #1F2600
analogous
#000C26 #070026 #1A0026
triadic
#070026 #260700 #002607
tetradic
#070026 #26000C #1F2600 #00261A
square
#070026 #26000C #1F2600 #00261A
split-complementary
#070026 #261A00 #0C2600
monochromatic
#06001F #06001F #070026 #120063 #1E00A0

Accessibility & contrast

On white

20.25
#070026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#070026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #070026
20.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070026#FFFFFF#000000##FFFFFF
##0700261.0020.251.0420.25
#FFFFFF20.251.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000727
Deuteranopia (green-blind)
#000525
Tritanopia (blue-blind)
#000912
Achromatopsia (no color)
#060606

Design tokens & code

CSS
--color: #070026;
/* rgb */ color: rgb(7, 0, 38);
/* oklch */ color: oklch(13.3% 0.079 282.5);
Tailwind
colors: {
  custom: {
    50: '#494660',
    500: '#070026',
    950: '#000000',
  },
}
SCSS
$custom: #070026;
$custom-light: #494660;
$custom-dark: #000000;
JSON
{
  "hex": "#070026",
  "rgb": {
    "r": 7,
    "g": 0,
    "b": 38
  },
  "hsl": {
    "h": 251.053,
    "s": 100,
    "l": 7.451
  },
  "oklch": {
    "l": 0.13317,
    "c": 0.07915,
    "h": 282.5
  },
  "luminance": 0.00185
}

Semantic roles & 50–950 ramp

primary
#070026
secondary
#5E6E13
accent
#FF29D8
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010005
muted
#777779

Preview Lab

Preview with #070026

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

Preview Lab → · Contrast checker → · Palette generator →

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