#070028#070028

#070028 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.6% C 0.082 H 281.2°. Best body text is #FFFFFF at 20.20:1 contrast (WCAG AA passes).

Color values

HEX#070028
RGBrgb(7, 0, 40)
HSLhsl(251, 100%, 8%)
HSVhsv(251, 100%, 16%)
CMYKcmyk(82.5%, 100%, 0%, 84.3%)
CIE-LABlab(1.79, 11.55, -22.28)
CIE-LCHlch(1.79, 25.09, 297.41°)
OKLaboklab(13.63% 0.0159 -0.0802)
OKLCHoklch(13.63% 0.082 281.2)
XYZxyz(0.4705, 0.1983, 2.0206)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070028 #212800
analogous
#000D28 #070028 #1B0028
triadic
#070028 #280700 #002807
tetradic
#070028 #28000D #212800 #00281B
square
#070028 #28000D #212800 #00281B
split-complementary
#070028 #281B00 #0D2800
monochromatic
#05001F #05001F #070028 #120065 #1C00A2

Accessibility & contrast

On white

20.20
#070028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070028
20.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070028#FFFFFF#000000##FFFFFF
##0700281.0020.201.0420.20
#FFFFFF20.201.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000829
Deuteranopia (green-blind)
#000527
Tritanopia (blue-blind)
#000A13
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #070028;
/* rgb */ color: rgb(7, 0, 40);
/* oklch */ color: oklch(13.6% 0.082 281.2);
Tailwind
colors: {
  custom: {
    50: '#4a4662',
    500: '#070028',
    950: '#000000',
  },
}
SCSS
$custom: #070028;
$custom-light: #4a4662;
$custom-dark: #000000;
JSON
{
  "hex": "#070028",
  "rgb": {
    "r": 7,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 250.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.1363,
    "c": 0.08174,
    "h": 281.2
  },
  "luminance": 0.00198
}

Semantic roles & 50–950 ramp

primary
#070028
secondary
#607014
accent
#FF29DA
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #070028

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

Preview Lab → · Contrast checker → · Palette generator →

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