#0E072B#0E072B

#0E072B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.8% C 0.069 H 285.5°. Best body text is #FFFFFF at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#0E072B
RGBrgb(14, 7, 43)
HSLhsl(252, 72%, 10%)
HSVhsv(252, 84%, 17%)
CMYKcmyk(67.4%, 83.7%, 0%, 83.1%)
CIE-LABlab(3.79, 12.05, -21.40)
CIE-LCHlch(3.79, 24.56, 299.38°)
OKLaboklab(16.84% 0.0185 -0.0669)
OKLCHoklch(16.84% 0.069 285.5)
XYZxyz(0.6930, 0.4197, 2.3295)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E072B #242B07
analogous
#07122B #0E072B #20072B
triadic
#0E072B #2B0E07 #072B0E
tetradic
#0E072B #2B0712 #242B07 #072B20
square
#0E072B #2B0712 #242B07 #072B20
split-complementary
#0E072B #2B2007 #122B07
monochromatic
#09041A #09041A #0E072B #1F1060 #301894

Accessibility & contrast

On white

19.37
#0E072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E072B
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E072B#FFFFFF#000000##FFFFFF
##0E072B1.0019.371.0819.37
#FFFFFF19.371.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2C
Deuteranopia (green-blind)
#000C2A
Tritanopia (blue-blind)
#031017
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #0e072b;
/* rgb */ color: rgb(14, 7, 43);
/* oklch */ color: oklch(16.8% 0.069 285.5);
Tailwind
colors: {
  custom: {
    50: '#4e4964',
    500: '#0e072b',
    950: '#000000',
  },
}
SCSS
$custom: #0e072b;
$custom-light: #4e4964;
$custom-dark: #000000;
JSON
{
  "hex": "#0e072b",
  "rgb": {
    "r": 14,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 251.667,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.16835,
    "c": 0.06938,
    "h": 285.5
  },
  "luminance": 0.0042
}

Semantic roles & 50–950 ramp

primary
#0E072B
secondary
#5D6B23
accent
#EF39CB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020105
muted
#78777A

Preview Lab

Preview with #0E072B

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

Preview Lab → · Contrast checker → · Palette generator →

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