#0E021A#0E021A

#0E021A is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.5% C 0.057 H 305.8°. Best body text is #FFFFFF at 20.15:1 contrast (WCAG AA passes).

Color values

HEX#0E021A
RGBrgb(14, 2, 26)
HSLhsl(270, 86%, 5%)
HSVhsv(270, 92%, 10%)
CMYKcmyk(46.2%, 92.3%, 0%, 89.8%)
CIE-LABlab(1.91, 7.71, -10.97)
CIE-LCHlch(1.91, 13.41, 305.11°)
OKLaboklab(13.54% 0.0332 -0.046)
OKLCHoklch(13.54% 0.057 305.8)
XYZxyz(0.3892, 0.2114, 0.9974)
Luminance0.0021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E021A #0E1A02
analogous
#02021A #0E021A #1A021A
triadic
#0E021A #1A0E02 #021A0E
tetradic
#0E021A #1A0202 #0E1A02 #021A1A
square
#0E021A #1A0202 #0E1A02 #021A1A
split-complementary
#0E021A #1A1A02 #021A02
monochromatic
#0F021C #0F021C #0F021C #2D0653 #4B0B8C

Accessibility & contrast

On white

20.15
#0E021A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0E021A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E021A
20.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E021A#FFFFFF#000000##FFFFFF
##0E021A1.0020.151.0420.15
#FFFFFF20.151.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00071B
Deuteranopia (green-blind)
#000719
Tritanopia (blue-blind)
#0C060C
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0e021a;
/* rgb */ color: rgb(14, 2, 26);
/* oklch */ color: oklch(13.5% 0.057 305.8);
Tailwind
colors: {
  custom: {
    50: '#4d4756',
    500: '#0e021a',
    950: '#000000',
  },
}
SCSS
$custom: #0e021a;
$custom-light: #4d4756;
$custom-dark: #000000;
JSON
{
  "hex": "#0e021a",
  "rgb": {
    "r": 14,
    "g": 2,
    "b": 26
  },
  "hsl": {
    "h": 270,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.13544,
    "c": 0.05677,
    "h": 305.8
  },
  "luminance": 0.00211
}

Semantic roles & 50–950 ramp

primary
#0E021A
secondary
#3C6018
accent
#FC2C94
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #0E021A

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

Preview Lab → · Contrast checker → · Palette generator →

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