#0E0218#0E0218

#0E0218 is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.3% C 0.054 H 308.7°. Best body text is #FFFFFF at 20.18:1 contrast (WCAG AA passes).

Color values

HEX#0E0218
RGBrgb(14, 2, 24)
HSLhsl(273, 85%, 5%)
HSVhsv(273, 92%, 9%)
CMYKcmyk(41.7%, 91.7%, 0%, 90.6%)
CIE-LABlab(1.83, 7.17, -9.48)
CIE-LCHlch(1.83, 11.89, 307.08°)
OKLaboklab(13.33% 0.0338 -0.0422)
OKLCHoklch(13.33% 0.054 308.7)
XYZxyz(0.3676, 0.2027, 0.8837)
Luminance0.0020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E0218 #0C1802
analogous
#030218 #0E0218 #180217
triadic
#0E0218 #180E02 #02180E
tetradic
#0E0218 #180302 #0C1802 #021718
square
#0E0218 #180302 #0C1802 #021718
split-complementary
#0E0218 #171802 #021803
monochromatic
#10021C #10021C #10021C #2F0750 #500B89

Accessibility & contrast

On white

20.18
#0E0218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E0218
20.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E0218#FFFFFF#000000##FFFFFF
##0E02181.0020.181.0420.18
#FFFFFF20.181.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000619
Deuteranopia (green-blind)
#000717
Tritanopia (blue-blind)
#0C050B
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0e0218;
/* rgb */ color: rgb(14, 2, 24);
/* oklch */ color: oklch(13.3% 0.054 308.7);
Tailwind
colors: {
  custom: {
    50: '#4d4754',
    500: '#0e0218',
    950: '#000000',
  },
}
SCSS
$custom: #0e0218;
$custom-light: #4d4754;
$custom-dark: #000000;
JSON
{
  "hex": "#0e0218",
  "rgb": {
    "r": 14,
    "g": 2,
    "b": 24
  },
  "hsl": {
    "h": 272.727,
    "s": 84.615,
    "l": 5.098
  },
  "oklch": {
    "l": 0.13334,
    "c": 0.05404,
    "h": 308.7
  },
  "luminance": 0.00203
}

Semantic roles & 50–950 ramp

primary
#0E0218
secondary
#385E18
accent
#FB2D8B
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010002
muted
#777778

Preview Lab

Preview with #0E0218

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

Preview Lab → · Contrast checker → · Palette generator →

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