#0E072A#0E072A

#0E072A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.7% C 0.068 H 286.0°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#0E072A
RGBrgb(14, 7, 42)
HSLhsl(252, 71%, 10%)
HSVhsv(252, 83%, 16%)
CMYKcmyk(66.7%, 83.3%, 0%, 83.5%)
CIE-LABlab(3.73, 11.59, -20.74)
CIE-LCHlch(3.73, 23.76, 299.19°)
OKLaboklab(16.72% 0.0187 -0.0652)
OKLCHoklch(16.72% 0.068 286)
XYZxyz(0.6749, 0.4125, 2.2341)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E072A #232A07
analogous
#07122A #0E072A #20072A
triadic
#0E072A #2A0E07 #072A0E
tetradic
#0E072A #2A0712 #232A07 #072A20
square
#0E072A #2A0712 #232A07 #072A20
split-complementary
#0E072A #2A2007 #122A07
monochromatic
#09041A #09041A #0E072A #1F105E #311893

Accessibility & contrast

On white

19.40
#0E072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#0E072A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E072A
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E072A#FFFFFF#000000##FFFFFF
##0E072A1.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#041017
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0e072a;
/* rgb */ color: rgb(14, 7, 42);
/* oklch */ color: oklch(16.7% 0.068 286.0);
Tailwind
colors: {
  custom: {
    50: '#4e4964',
    500: '#0e072a',
    950: '#000000',
  },
}
SCSS
$custom: #0e072a;
$custom-light: #4e4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0e072a",
  "rgb": {
    "r": 14,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 252,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.16724,
    "c": 0.06779,
    "h": 286
  },
  "luminance": 0.00412
}

Semantic roles & 50–950 ramp

primary
#0E072A
secondary
#5C6A23
accent
#EE3ACA
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#020105
muted
#787779

Preview Lab

Preview with #0E072A

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

Preview Lab → · Contrast checker → · Palette generator →

#0E072A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva