#070027#070027

#070027 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 13.5% C 0.080 H 281.8°. Best body text is #FFFFFF at 20.22:1 contrast (WCAG AA passes).

Color values

HEX#070027
RGBrgb(7, 0, 39)
HSLhsl(251, 100%, 8%)
HSVhsv(251, 100%, 15%)
CMYKcmyk(82.1%, 100%, 0%, 84.7%)
CIE-LABlab(1.73, 11.13, -21.60)
CIE-LCHlch(1.73, 24.29, 297.26°)
OKLaboklab(13.47% 0.0165 -0.0787)
OKLCHoklch(13.47% 0.08 281.8)
XYZxyz(0.4537, 0.1916, 1.9321)
Luminance0.0019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070027 #202700
analogous
#000D27 #070027 #1A0027
triadic
#070027 #270700 #002707
tetradic
#070027 #27000D #202700 #00271A
square
#070027 #27000D #202700 #00271A
split-complementary
#070027 #271A00 #0D2700
monochromatic
#05001F #05001F #070027 #120064 #1D00A1

Accessibility & contrast

On white

20.22
#070027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070027
20.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070027#FFFFFF#000000##FFFFFF
##0700271.0020.221.0420.22
#FFFFFF20.221.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #070027;
/* rgb */ color: rgb(7, 0, 39);
/* oklch */ color: oklch(13.5% 0.080 281.8);
Tailwind
colors: {
  custom: {
    50: '#4a4661',
    500: '#070027',
    950: '#000000',
  },
}
SCSS
$custom: #070027;
$custom-light: #4a4661;
$custom-dark: #000000;
JSON
{
  "hex": "#070027",
  "rgb": {
    "r": 7,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 250.769,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.13473,
    "c": 0.08045,
    "h": 281.8
  },
  "luminance": 0.00192
}

Semantic roles & 50–950 ramp

primary
#070027
secondary
#5F6F14
accent
#FF29D9
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#010005
muted
#777779

Preview Lab

Preview with #070027

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

Preview Lab → · Contrast checker → · Palette generator →

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