#0E021C#0E021C

#0E021C is a very dark, muted violet. Relative luminance 0.002; OKLCH L 13.8% C 0.059 H 303.3°. Best body text is #FFFFFF at 20.11:1 contrast (WCAG AA passes).

Color values

HEX#0E021C
RGBrgb(14, 2, 28)
HSLhsl(268, 87%, 6%)
HSVhsv(268, 93%, 11%)
CMYKcmyk(50%, 92.9%, 0%, 89%)
CIE-LABlab(1.99, 8.30, -12.46)
CIE-LCHlch(1.99, 14.98, 303.68°)
OKLaboklab(13.76% 0.0326 -0.0497)
OKLCHoklch(13.76% 0.06 303.3)
XYZxyz(0.4124, 0.2206, 1.1192)
Luminance0.0022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E021C #101C02
analogous
#02031C #0E021C #1B021C
triadic
#0E021C #1C0E02 #021C0E
tetradic
#0E021C #1C0203 #101C02 #021C1B
square
#0E021C #1C0203 #101C02 #021C1B
split-complementary
#0E021C #1C1B02 #031C02
monochromatic
#0E021D #0E021D #0E021D #2B0655 #470A8E

Accessibility & contrast

On white

20.11
#0E021C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0E021C
20.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E021C#FFFFFF#000000##FFFFFF
##0E021C1.0020.111.0420.11
#FFFFFF20.111.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0e021c;
/* rgb */ color: rgb(14, 2, 28);
/* oklch */ color: oklch(13.8% 0.059 303.3);
Tailwind
colors: {
  custom: {
    50: '#4d4758',
    500: '#0e021c',
    950: '#000000',
  },
}
SCSS
$custom: #0e021c;
$custom-light: #4d4758;
$custom-dark: #000000;
JSON
{
  "hex": "#0e021c",
  "rgb": {
    "r": 14,
    "g": 2,
    "b": 28
  },
  "hsl": {
    "h": 267.692,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.13762,
    "c": 0.0595,
    "h": 303.3
  },
  "luminance": 0.00221
}

Semantic roles & 50–950 ramp

primary
#0E021C
secondary
#406218
accent
#FD2B9C
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010003
muted
#777778

Preview Lab

Preview with #0E021C

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

Preview Lab → · Contrast checker → · Palette generator →

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