#0E0818#0E0818

#0E0818 is a very dark, muted violet. Relative luminance 0.003; OKLCH L 15.3% C 0.034 H 299.9°. Best body text is #FFFFFF at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#0E0818
RGBrgb(14, 8, 24)
HSLhsl(263, 50%, 6%)
HSVhsv(263, 67%, 9%)
CMYKcmyk(41.7%, 66.7%, 0%, 90.6%)
CIE-LABlab(3.01, 4.76, -7.76)
CIE-LCHlch(3.01, 9.11, 301.53°)
OKLaboklab(15.27% 0.0172 -0.0299)
OKLCHoklch(15.27% 0.034 299.9)
XYZxyz(0.4328, 0.3330, 0.9054)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0818 #121808
analogous
#080A18 #0E0818 #160818
triadic
#0E0818 #180E08 #08180E
tetradic
#0E0818 #18080A #121808 #081816
square
#0E0818 #18080A #121808 #081816
split-complementary
#0E0818 #181608 #0A1808
monochromatic
#0D0817 #0D0817 #0E0818 #291746 #442774

Accessibility & contrast

On white

19.69
#0E0818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#0E0818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E0818
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0818#FFFFFF#000000##FFFFFF
##0E08181.0019.691.0719.69
#FFFFFF19.691.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040B19
Deuteranopia (green-blind)
#050B18
Tritanopia (blue-blind)
#0C0B0E
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #0e0818;
/* rgb */ color: rgb(14, 8, 24);
/* oklch */ color: oklch(15.3% 0.034 299.9);
Tailwind
colors: {
  custom: {
    50: '#4d4a54',
    500: '#0e0818',
    950: '#000000',
  },
}
SCSS
$custom: #0e0818;
$custom-light: #4d4a54;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0818",
  "rgb": {
    "r": 14,
    "g": 8,
    "b": 24
  },
  "hsl": {
    "h": 262.5,
    "s": 50,
    "l": 6.275
  },
  "oklch": {
    "l": 0.15266,
    "c": 0.03444,
    "h": 299.9
  },
  "luminance": 0.00333
}

Semantic roles & 50–950 ramp

primary
#0E0818
secondary
#435428
accent
#DA4EA5
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010102
muted
#777778

Preview Lab

Preview with #0E0818

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

Preview Lab → · Contrast checker → · Palette generator →

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