#070023#070023

#070023 is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 12.8% C 0.075 H 284.6°. Best body text is #FFFFFF at 20.32:1 contrast (WCAG AA passes).

Color values

HEX#070023
RGBrgb(7, 0, 35)
HSLhsl(252, 100%, 7%)
HSVhsv(252, 100%, 14%)
CMYKcmyk(80%, 100%, 0%, 86.3%)
CIE-LABlab(1.50, 9.53, -18.82)
CIE-LCHlch(1.50, 21.10, 296.86°)
OKLaboklab(12.85% 0.019 -0.0728)
OKLCHoklch(12.85% 0.075 284.6)
XYZxyz(0.3909, 0.1665, 1.6013)
Luminance0.0017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#070023 #1C2300
analogous
#000B23 #070023 #190023
triadic
#070023 #230700 #002307
tetradic
#070023 #23000B #1C2300 #002319
square
#070023 #23000B #1C2300 #002319
split-complementary
#070023 #231900 #0B2300
monochromatic
#06001F #06001F #070023 #130060 #1F009D

Accessibility & contrast

On white

20.32
#070023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #070023
20.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##070023#FFFFFF#000000##FFFFFF
##0700231.0020.321.0320.32
#FFFFFF20.321.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000624
Deuteranopia (green-blind)
#000522
Tritanopia (blue-blind)
#000810
Achromatopsia (no color)
#050505

Design tokens & code

CSS
--color: #070023;
/* rgb */ color: rgb(7, 0, 35);
/* oklch */ color: oklch(12.8% 0.075 284.6);
Tailwind
colors: {
  custom: {
    50: '#49475e',
    500: '#070023',
    950: '#000000',
  },
}
SCSS
$custom: #070023;
$custom-light: #49475e;
$custom-dark: #000000;
JSON
{
  "hex": "#070023",
  "rgb": {
    "r": 7,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 252,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.12849,
    "c": 0.07528,
    "h": 284.6
  },
  "luminance": 0.00167
}

Semantic roles & 50–950 ramp

primary
#070023
secondary
#5A6C13
accent
#FF29D4
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#010004
muted
#777779

Preview Lab

Preview with #070023

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

Preview Lab → · Contrast checker → · Palette generator →

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