#0E021E#0E021E

#0E021E is a very dark, moderate violet. Relative luminance 0.002; OKLCH L 14.0% C 0.062 H 300.9°. Best body text is #FFFFFF at 20.07:1 contrast (WCAG AA passes).

Color values

HEX#0E021E
RGBrgb(14, 2, 30)
HSLhsl(266, 88%, 6%)
HSVhsv(266, 93%, 12%)
CMYKcmyk(53.3%, 93.3%, 0%, 88.2%)
CIE-LABlab(2.08, 8.93, -13.94)
CIE-LCHlch(2.08, 16.55, 302.65°)
OKLaboklab(13.99% 0.032 -0.0534)
OKLCHoklch(13.99% 0.062 300.9)
XYZxyz(0.4371, 0.2305, 1.2495)
Luminance0.0023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E021E #121E02
analogous
#02041E #0E021E #1C021E
triadic
#0E021E #1E0E02 #021E0E
tetradic
#0E021E #1E0204 #121E02 #021E1C
square
#0E021E #1E0204 #121E02 #021E1C
split-complementary
#0E021E #1E1C02 #041E02
monochromatic
#0D021D #0D021D #0E021E #290657 #440A91

Accessibility & contrast

On white

20.07
#0E021E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0E021E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E021E
20.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E021E#FFFFFF#000000##FFFFFF
##0E021E1.0020.071.0520.07
#FFFFFF20.071.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00071F
Deuteranopia (green-blind)
#00071D
Tritanopia (blue-blind)
#0A070E
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #0e021e;
/* rgb */ color: rgb(14, 2, 30);
/* oklch */ color: oklch(14.0% 0.062 300.9);
Tailwind
colors: {
  custom: {
    50: '#4d4759',
    500: '#0e021e',
    950: '#000000',
  },
}
SCSS
$custom: #0e021e;
$custom-light: #4d4759;
$custom-dark: #000000;
JSON
{
  "hex": "#0e021e",
  "rgb": {
    "r": 14,
    "g": 2,
    "b": 30
  },
  "hsl": {
    "h": 265.714,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.13986,
    "c": 0.06223,
    "h": 300.9
  },
  "luminance": 0.00231
}

Semantic roles & 50–950 ramp

primary
#0E021E
secondary
#436418
accent
#FE2AA3
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #0E021E

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

Preview Lab → · Contrast checker → · Palette generator →

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